.category-list { width: 100%; margin: 0 auto; padding: 20px 0 60px; } .category-list__container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; padding: 0 20px; align-items: stretch; } .category-item { display: flex; justify-content: center; align-items: stretch; } .category-list__item { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: #000000; padding: 30px 24px; border: none; border-radius: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #ffffff; text-align: center; width: 100%; max-width: 300px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); position: relative; overflow: visible; height: 100%; } .category-list__item:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 25px 50px rgba(237, 26, 52, 0.3); text-decoration: none; color: #000000; } /* Badges */ .badge { position: absolute; top: -10px; right: -10px; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: white; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); z-index: 10; letter-spacing: 0.5px; } .badge.popular { background: #ed1a34; animation: pulse 2s infinite; } .badge.new { background: #666666; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .category-list__img { width: 160px !important; height: 120px; object-fit: cover; margin-bottom: 20px; border-radius: 12px; transition: transform 0.4s ease; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); background: #f5f5f5; border: 1px solid #e0e0e0; flex-shrink: 0; } .category-list__item:hover .category-list__img { transform: scale(1.15) rotate(2deg); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); } .category-list__name { font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; word-wrap: break-word; color: #000000; transition: color 0.3s ease; margin-bottom: 16px; min-height: 66px; display: flex; align-items: center; justify-content: center; flex-grow: 0; } .category-list__item:hover .category-list__name { color: #ed1a34; } /* Benefits */ .category-benefits { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; width: 100%; margin-top: auto; } .benefit { font-size: 13px; color: #666666; font-weight: 500; padding: 6px 0; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; } .benefit:first-child { border-top: none; padding-top: 0; } .benefit:last-child { border-bottom: none; padding-bottom: 0; } /* Адаптивность */ @media (max-width: 1200px) { .category-list__container { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } .category-list__item { max-width: 280px; } } @media (max-width: 768px) { body { padding: 0; } .category-list__container { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 15px; } .category-list__item { padding: 24px 18px; max-width: 100%; border-radius: 16px; } .category-list__img { width: 140px; height: 100px; } .category-list__name { font-size: 14px; min-height: 60px; } .benefit { font-size: 12px; } } @media (max-width: 480px) { .category-list__container { grid-template-columns: 1fr; gap: 20px; } .category-list__item { max-width: 320px; margin: 0 auto; } .category-list__img { width: 160px; height: 120px; } .badge { top: -8px; right: -8px; font-size: 11px; padding: 5px 12px; } } Популярно Строительство ангаров под ключ ✓ От 30 дней ✓ Гарантия 5 лет Популярно Строительство складов под ключ ✓ От 30 дней ✓ Гарантия 5 лет Строительство производственных объектов под ключ ✓ От 45 дней ✓ Гарантия 5 лет Новинка Строительство промышленных объектов под ключ ✓ От 60 дней ✓ Гарантия 5 лет Строительство школ под ключ ✓ От 90 дней ✓ Гарантия 10 лет Строительство университетов под ключ ✓ От 120 дней ✓ Гарантия 10 лет Строительство промышленных холодильников под ключ ✓ От 45 дней ✓ Гарантия 5 лет Популярно Строительство цехов под ключ ✓ От 40 дней ✓ Гарантия 5 лет Строительство заводов и фабрик ✓ От 180 дней ✓ Гарантия 10 лет Строительство электростанций ✓ От 200 дней ✓ Гарантия 15 лет Строительство котельных ✓ От 60 дней ✓ Гарантия 5 лет Строительство топливохранилищ и нефтебаз ✓ От 90 дней ✓ Гарантия 10 лет Строительство силосов и элеваторов ✓ От 120 дней ✓ Гарантия 10 лет Строительство административно-бытовых корпусов ✓ От 60 дней ✓ Гарантия 5 лет Строительство лаборатории ✓ От 75 дней ✓ Гарантия 5 лет Строительство гаражей и депо ✓ От 30 дней ✓ Гарантия 5 лет Строительство транспортно-коммуникационных сооружений ✓ От 90 дней ✓ Гарантия 10 лет Строительство ремонтно-механических цехов ✓ От 50 дней ✓ Гарантия 5 лет