    /* Goods page specific styles */
    .goods-container {
      max-width: 600px;
      margin: 0 auto;
      padding: 0 16px;
    }

    .product-header {
      margin: 20px 0 16px;
    }

    .product-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--txt);
      line-height: 1.3;
    }

    .product-image {
      width: 100%;
      max-width: 300px;
      height: auto;
      border-radius: 20px;
      box-shadow: var(--shadow);
      border: 1px solid var(--stroke);
    }

    .nominal-section {
      background: var(--bg-2);
      border-radius: 20px;
      padding: 20px;
      margin-bottom: 20px;
      border: 1px solid var(--stroke);
    }

    .section-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--txt);
    }

    .nominal-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }

    @media (min-width: 480px) {
      .nominal-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .nominal-option {
      background: #fff;
      border: 2px solid var(--stroke);
      border-radius: 12px;
      padding: 12px 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s ease;
      font-weight: 500;
    }

    .nominal-option:hover {
      border-color: var(--brand);
      transform: translateY(-2px);
    }

    .nominal-option.active {
      border-color: var(--brand);
      background: var(--chip);
      color: var(--brand);
    }

    .amount-section {
      margin-bottom: 20px;
    }

    .amount-input {
      width: 100%;
      height: 50px;
      border: 2px solid var(--stroke);
      border-radius: 12px;
      padding: 0 16px;
      font-size: 16px;
      font-weight: 500;
      background: #fff;
      transition: border-color 0.2s ease;
    }

    .amount-input:focus {
      outline: none;
      border-color: var(--brand);
    }

    .buy-button {
      width: 100%;
      height: 56px;
      background: var(--brand);
      color: #fff;
      border: none;
      border-radius: 16px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-bottom: 24px;
    }

    .buy-button:hover {
      background: var(--brand-2);
      transform: translateY(-2px);
    }

    .buy-button:active {
      transform: translateY(0);
    }

    .info-section {
      background: var(--bg-2);
      border-radius: 20px;
      padding: 20px;
      margin-bottom: 20px;
      border: 1px solid var(--stroke);
    }

    .info-content {
      color: var(--muted);
      line-height: 1.6;
      font-size: 14px;
    }

    .info-content h3 {
      color: var(--txt);
      margin-bottom: 8px;
      font-size: 16px;
    }

    .info-content p {
      margin-bottom: 12px;
    }

    .reviews-section {
      background: var(--bg-2);
      border-radius: 20px;
      padding: 20px;
      margin-bottom: 20px;
      border: 1px solid var(--stroke);
    }

    .review-item {
      padding: 16px 0;
      border-bottom: 1px solid var(--stroke);
    }

    .review-item:last-child {
      border-bottom: none;
    }

    .review-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .review-author {
      font-weight: 600;
      color: var(--txt);
    }

    .review-date {
      color: var(--muted);
      font-size: 12px;
    }

    .review-text {
      color: var(--muted);
      line-height: 1.5;
      font-size: 14px;
    }

    .no-reviews {
      text-align: center;
      color: var(--muted);
      padding: 20px 0;
    }

    @media (max-width: 768px) {
      .goods-container {
        padding: 0 12px;
      }
      
      .product-title {
        font-size: 20px;
      }
      
      .nominal-section,
      .info-section,
      .reviews-section {
        padding: 16px;
      }
      
      .buy-button {
        height: 52px;
        font-size: 16px;
      }
    }

    .nominal-option:focus,
    .amount-input:focus,
    .buy-button:focus {
      outline: 2px solid var(--brand);
      outline-offset: 2px;
    }

    /* Скрытый SEO-контент */
    .seo-hidden {
      display: none;
      position: absolute;
      left: -9999px;
      top: -9999px;
    }

/* Стили для блока рейтинга */
/* Стили для кнопки загрузки отзывов */
.load-more-reviews-btn {
    max-width: 200px !important;
    height: 44px !important;
    font-size: 16px !important;
    background: var(--brand) !important;
    color: white !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
}

.load-more-reviews-btn:hover {
    background: var(--brand-2) !important;
    transform: translateY(-2px) !important;
}

.load-more-container {
    text-align: center !important;
    margin-top: 20px !important;
    width: 100% !important;
}
.rating-summary {
  max-width: 600px;
  margin: 30px auto 10px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5em;
  font-weight: bold;
}

.rating-stars {
  color: orange;
}

.rating-subtext {
  font-size: 0.95em;
  color: #666;
  margin-top: 6px;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.bar-label {
  width: 68px;
  font-size: 0.95em;
}

.bar-container {
  flex: 1;
  background: #e9ecf1;
  border-radius: 10px;
  height: 8px;
  margin: 0 10px;
  overflow: hidden;
}

.bar-fill {
  background: orange;
  height: 100%;
}

.bar-value {
  min-width: 30px;
  text-align: right;
  font-size: 0.9em;
}

/* Стили для отзывов */
.review-container {
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 16px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-name {
  font-weight: bold;
}

.review-date {
  font-size: 0.9em;
  color: #666;
}

.stars {
  margin-top: 4px;
}

.star {
  font-size: 1.2em;
}

.filled {
  color: orange;
}

.empty {
  color: #ddd;
}

.review-text {
  margin-top: 6px;
  color: #444;
  line-height: 1.4;
}

.letter-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(66, 133, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: #4285f4;
  margin-right: 12px;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  .review-container {
    margin: 12px;
    padding: 12px;
  }
  .user-name {
    font-size: 1em;
  }
}
/* Стили для кнопки загрузки */
#load-more-btn {
    background: var(--brand);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    background: var(--brand-2);
    transform: translateY(-2px);
}

#load-more-btn:disabled {
    background: var(--muted);
    cursor: not-allowed;
    transform: none;
}
.radio-group.nominal-style {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.radio-option {
    background: var(--bg-2);
    border: 2px solid var(--stroke);
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: auto; /* Компактная высота */
    height: auto; /* Компактная высота */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.radio-option:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.radio-option.active {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.radio-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.radio-price {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.2;
}

.radio-option.active .radio-price {
    opacity: 0.9;
}
/* ========== ПОДГРУЗКА ОТЗЫВОВ ==========*/
/* Стили для пагинации */
/* Стили для AJAX пагинации */
.reviews-pagination {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-2);
    border-radius: 12px;
    border: 1px solid var(--stroke);
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--brand);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pagination-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: var(--muted);
    cursor: not-allowed;
    transform: none;
}

.reviews-pagination button {
    padding: 8px 12px;
    background: var(--bg-2);
    color: var(--txt);
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--stroke);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reviews-pagination button:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}