.home-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 30px 20px;
}

.hero {
    background: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 24px 24px;
    margin-bottom: 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto 30px;
    gap: 10px;
}

.hero-search-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 40px;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-search-form button {
    padding: 14px 30px !important;
    background-color: #E67E22 !important;
    color: white !important;
    border: none !important;
    border-radius: 40px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.hero-search-form button:hover {
    background-color: #D35400 !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 40px;
}

a.btn-large:hover {
    text-decoration: none;
}

/* Категории */
.popular-categories {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: #2C3E50;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-icon svg {
    stroke: #E67E22;
    margin-bottom: 10px;
}

.category-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Слайдер товаров со скидкой */
.discount-products {
    margin-bottom: 60px;
    position: relative;
}

.slider-container {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 10px 0;
}

.slider-track::-webkit-scrollbar {
    height: 6px;
}
.slider-track::-webkit-scrollbar-track {
    background: #ECF0F1;
    border-radius: 10px;
}
.slider-track::-webkit-scrollbar-thumb {
    background: #7F8C8D;
    border-radius: 10px;
}

.product-card {
    flex: 0 0 260px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.product-link:hover {
    text-decoration: none;
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.no-image-placeholder {
    color: #7F8C8D;
    font-size: 14px;
}

.product-info {
    padding: 15px;
}

.product-brand {
    font-size: 12px;
    color: #7F8C8D;
    margin-bottom: 4px;
}

.product-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #27AE60;
}

.old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #7F8C8D;
}

.discount-badge {
    background: #E74C3C;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ECF0F1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: #E67E22;
    color: white;
    border-color: #E67E22;
}

.prev-btn {
    left: -10px;
}

.next-btn {
    right: -10px;
}

/* Преимущества */
.features {
    background: #F8F9FA;
    padding: 60px 0;
    margin-bottom: 60px;
    border-radius: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #E67E22;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #7F8C8D;
    line-height: 1.5;
}

/* Как это работает */
.how-it-works {
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.step {
    flex: 1;
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-number {
    width: 48px;
    height: 48px;
    background: #E67E22;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Недавние сравнения */
.recent-comparisons {
    margin-bottom: 60px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recent-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.recent-card:hover {
    transform: translateY(-3px);
}

.recent-image, .recent-image-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
}

.recent-image {
    object-fit: contain;
    width: 100%;
}

.recent-info {
    padding: 12px;
}

.recent-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.recent-price {
    font-size: 16px;
    font-weight: bold;
    color: #27AE60;
}

.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-card:hover .category-name {
    color: #E67E22;
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.category-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    transition: none;
}

.categories-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #E67E22;
    color: #E67E22;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    background: #E67E22;
    color: white;
    transform: translateY(-2px);
}

a.btn-view-all:hover {
    text-decoration: none;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-search-form {
        flex-direction: column;
    }
    .slider-btn {
        display: none;
    }
    .steps {
        flex-direction: column;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}