/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
header {
    background: #fff;
    border-bottom: 2px solid #e9ecef;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: color .3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

header .contacts a {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
}

/* ===== FOOTER ===== */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px 0;
    flex-shrink: 0;
    margin-top: 50px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    margin-left: 20px;
    transition: color .3s;
}

.footer-social a:hover {
    color: #007bff;
}

main {
    flex: 1 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    transition: background .3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-filter {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background .3s;
}

.btn-filter:hover {
    background: #0056b3;
}

.btn-reset {
    display: inline-block;
    background: #6c757d;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    transition: background .3s;
}

.btn-reset:hover {
    background: #5a6268;
}

.btn-order {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 14px 40px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    transition: background .3s;
}

.btn-order:hover {
    background: #1e7e34;
}

.btn-back {
    display: inline-block;
    background: #6c757d;
    color: #fff;
    padding: 14px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background .3s;
}

.btn-back:hover {
    background: #5a6268;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all .3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

/* ===== BADGES ===== */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.badge.hit {
    background: #ffc107;
    color: #333;
}

.badge.sale {
    background: #dc3545;
}

.badge.out-of-stock {
    background: #6c757d;
    top: auto;
    bottom: 10px;
    right: 10px;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-features .feature {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features .feature .icon {
    font-size: 28px;
}

/* ===== BRANDS ===== */
.brands {
    padding: 40px 0;
    background: #fff;
    border-radius: 20px;
    margin: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brands h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.brand-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    transition: transform .3s;
}

.brand-item:hover {
    transform: scale(1.05);
}

.brand-item img {
    max-height: 50px;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.brand-item span {
    font-weight: 600;
    color: #555;
    font-size: 14px;
    text-align: center;
}

/* ===== PRODUCTS ===== */
.hits {
    padding: 40px 0;
}

.hits h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all .3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    font-size: 14px;
    margin: 10px 0 5px;
    font-weight: 600;
    height: 40px;
    overflow: hidden;
}

.product-card .brand {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}

.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
}

.product-card .old-price {
    font-size: 14px;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

/* ===== CATALOG ===== */
.catalog-page {
    padding: 30px 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-header h1 {
    font-size: 28px;
}

.catalog-header .count {
    color: #6c757d;
    font-size: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: all .3s;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .current {
    padding: 8px 16px;
    font-weight: 600;
}

/* ===== FILTER ===== */
.filter-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filter-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    font-size: 14px;
    margin-bottom: 5px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.price-range,
.power-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-range input,
.power-range input {
    width: 100%;
}

.filter-accordion {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    user-select: none;
    transition: color .3s;
}

.filter-accordion-header:hover {
    color: #007bff;
}

.filter-accordion-header .accordion-icon {
    font-size: 12px;
    transition: transform .3s;
}

.filter-accordion-content {
    display: none;
    padding-bottom: 15px;
}

.filter-accordion-content.active {
    display: block;
    animation: accordionSlide .3s;
}

@keyframes accordionSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-accordion-content .filter-group {
    margin-bottom: 0;
}

.filter-accordion-content .filter-group .checkbox-label {
    margin-bottom: 5px;
}

.filter-accordion-content .filter-group select,
.filter-accordion-content .filter-group input {
    margin-top: 5px;
}

.filter-sidebar .btn-filter,
.filter-sidebar .btn-reset {
    margin-top: 15px;
}

.filter-sidebar .btn-reset {
    margin-top: 10px;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-page {
    padding: 30px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-gallery .main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-thumbs .thumb {
    width: 100%;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s;
}

.gallery-thumbs .thumb img:hover {
    opacity: .7;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-info .brand {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 5px;
}

.product-info .article {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.price-block {
    margin: 20px 0;
}

.price-block .price {
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
}

.price-block .old-price {
    font-size: 20px;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 15px;
}

.status {
    margin: 15px 0;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
    font-size: 18px;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
    font-size: 18px;
}

.specifications {
    margin: 25px 0;
}

.specifications h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.specifications ul {
    list-style: none;
    padding: 0;
}

.specifications ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    gap: 10px;
}

.specifications ul li span {
    font-weight: 600;
    min-width: 150px;
}

.description {
    margin: 25px 0;
}

.description h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.similar-products {
    margin-top: 40px;
}

.similar-products h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.similar-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ===== SERVICES PAGE (Обычная страница) ===== */
.services-page {
    padding: 40px 0;
}

.services-page .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.services-page .service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform .3s;
}

.services-page .service-card:hover {
    transform: translateY(-5px);
}

.services-page .service-card h3 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 15px;
}

.services-page .service-card p {
    color: #6c757d;
    line-height: 1.7;
}

.services-hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.services-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.services-hero-content p {
    font-size: 20px;
    opacity: .9;
    margin-bottom: 40px;
}

.services-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: .8;
}

.services-grid-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-advantages {
    padding: 60px 0;
    background: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all .4s;
    opacity: 0;
    transform: translateY(30px);
}

.advantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.25);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.advantage-item:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.services-contacts {
    padding: 60px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.contacts-cta {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FULLPAGE SERVICES ===== */
.fp-section .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.fp-section .service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all .3s;
}

.fp-section .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15);
}

.fp-section .service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.fp-section .service-card h3 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 10px;
}

.fp-section .service-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACTS ===== */
.contacts-page {
    padding: 40px 0;
}

.contacts-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacts-info {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 18px;
    font-weight: 600;
}

.contact-item a {
    color: #007bff;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contacts-map {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

/* ===== FULLPAGE ===== */
.fullpage {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.fp-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.fp-section:nth-child(odd) {
    background: #fff;
}

.fp-section:nth-child(even) {
    background: #f8f9fa;
}

.fp-section.active {
    animation: sectionFade .6s;
}

@keyframes sectionFade {
    from {
        opacity: .7;
        transform: scale(.99);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fp-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.fp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.fp-overlay-dark {
    background: rgba(0, 0, 0, 0.5);
}

.fp-overlay-light {
    background: rgba(255, 255, 255, 0.85);
}

.fp-section .fp-content h1,
.fp-section .fp-content h2,
.fp-section .fp-content p,
.fp-section .fp-content .feature span {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.fp-section .fp-content .brand-item span,
.fp-section .fp-content .service-card h3,
.fp-section .fp-content .service-card p,
.fp-section .fp-content .contact-item h3,
.fp-section .fp-content .contact-item p {
    color: #333;
    text-shadow: none;
}

.fp-section .fp-content .contact-item a {
    color: #007bff;
    text-shadow: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 5px;
}

.scroll-arrow {
    font-size: 24px;
    color: #007bff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.fp-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.fp-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fp-nav a {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.3);
    transition: all .3s;
    position: relative;
}

.fp-nav a span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.fp-nav a:hover {
    background: rgba(0, 123, 255, 0.6);
    transform: scale(1.2);
}

.fp-nav a.active {
    background: #007bff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.fp-nav a.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #007bff;
    animation: navPulse 1.5s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.fullpage~footer {
    display: none;
}

.fullpage~header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ===== SLIDERS ===== */
.hero-slider {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 40px 0;
    border-radius: 0 0 20px 20px;
    position: relative;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform .6s;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity .6s;
    display: none;
    text-align: center;
    padding: 20px 0;
}

.slide.active {
    opacity: 1;
    display: block;
    animation: slideFade .8s;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.slide p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: .9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background .3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background .3s;
}

.slider-dots .dot.active {
    background: #fff;
}

.brands-slider-wrapper,
.products-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
}

.brands-slider-container,
.products-slider-container {
    overflow: hidden;
    flex: 1;
}

.brands-slider-track {
    display: flex;
    transition: transform .5s;
    gap: 20px;
}

.brands-slider-track .brand-item {
    min-width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    flex-shrink: 0;
}

.brands-slider-track .brand-item img {
    max-height: 50px;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

.brands-slider-btn,
.products-slider-btn {
    background: #007bff;
    color: #fff;
    border: none;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .3s;
    flex-shrink: 0;
}

.brands-slider-btn:hover,
.products-slider-btn:hover {
    background: #0056b3;
}

.products-slider-track {
    display: flex;
    transition: transform .5s;
    gap: 20px;
}

.products-slider-track .product-card {
    min-width: calc(25% - 20px);
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all .3s;
}

.products-slider-track .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.products-slider-track .product-card .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-slider-track .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.products-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background .3s;
}

.products-dot.active {
    background: #007bff;
}

/* ===== DISABLE FULLPAGE FOR SERVICES ===== */
body.services-page-body {
    overflow-y: auto !important;
    height: auto !important;
}

body.services-page-body .fullpage {
    height: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
}

body.services-page-body .fp-section {
    height: auto !important;
    scroll-snap-align: none !important;
    min-height: 100vh;
    padding: 0;
}

body.services-page-body .fp-nav {
    display: none !important;
}

body.services-page-body .scroll-indicator {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
    }
    .product-detail {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .product-gallery .main-image {
        height: 300px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero-features {
        gap: 20px;
    }
    .slide h1 {
        font-size: 32px;
    }
    .products-slider-track .product-card {
        min-width: calc(33.33% - 20px);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fp-section .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-hero-content h1 {
        font-size: 36px;
    }
    .fp-section h1 {
        font-size: 36px;
    }
    .fp-section h2 {
        font-size: 28px;
    }
    .similar-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 10px;
    }
    nav {
        gap: 15px;
    }
    nav a {
        font-size: 14px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .product-card .product-image {
        height: 150px;
    }
    .brands-grid {
        gap: 15px;
    }
    .brand-item {
        width: 80px;
        height: 60px;
    }
    .brand-item img {
        max-height: 35px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-social a {
        margin: 0 10px;
    }
    .price-range,
    .power-range {
        grid-template-columns: 1fr;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-thumbs .thumb {
        height: 60px;
    }
    .fp-nav {
        right: 10px;
    }
    .fp-nav a {
        width: 10px;
        height: 10px;
    }
    .fp-section .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .services-hero-stats {
        gap: 30px;
    }
    .stat-number {
        font-size: 28px;
    }
    .services-hero-content h1 {
        font-size: 28px;
    }
    .section-title {
        font-size: 28px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .slide h1 {
        font-size: 26px;
    }
    .slider-btn {
        font-size: 20px;
        padding: 10px 14px;
    }
    .products-slider-track .product-card {
        min-width: calc(50% - 20px);
    }
    .products-slider-track .product-card .product-image {
        height: 150px;
    }
    .brands-slider-track .brand-item {
        min-width: 100px;
        height: 60px;
    }
    .fp-section h1 {
        font-size: 28px;
    }
    .fp-section h2 {
        font-size: 24px;
    }
    .similar-products .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .hero h1 {
        font-size: 24px;
    }
    .btn-primary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .product-card h3 {
        font-size: 12px;
        height: 32px;
    }
    .product-card .price {
        font-size: 15px;
    }
    .product-info h1 {
        font-size: 22px;
    }
    .price-block .price {
        font-size: 26px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .brand-item {
        width: 80px;
        height: 60px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
        font-size: 16px;
    }
    .slide h1 {
        font-size: 20px;
    }
    .slide p {
        font-size: 14px;
    }
    .products-slider-track .product-card {
        min-width: calc(100% - 20px);
    }
    .brands-slider-track .brand-item {
        min-width: 80px;
        height: 50px;
    }
    .fp-section h1 {
        font-size: 22px;
    }
    .fp-section h2 {
        font-size: 20px;
    }
    .hero-features {
        gap: 15px;
    }
    .hero-features .feature {
        font-size: 14px;
    }
    .similar-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== СОРТИРОВКА ===== */
.catalog-sort {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

.catalog-sort label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.catalog-sort select {
    padding: 8px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    transition: border-color .3s;
    min-width: 200px;
}

.catalog-sort select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

@media (max-width: 480px) {
    .catalog-sort {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .catalog-sort select {
        min-width: auto;
        width: 100%;
    }
}

/* ===== HEADER CONTACTS ===== */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-contacts .contacts a {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
}

.work-hours {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
    line-height: 1.3;
}

.work-hours-label {
    color: #6c757d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-hours-text {
    color: #28a745;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-work-hours {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-social a {
    color: #fff;
    margin-left: 20px;
    transition: color .3s;
}

.footer-social a:hover {
    color: #007bff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-contacts {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .work-hours {
        align-items: center;
    }

    .footer-work-hours {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .work-hours-text {
        font-size: 12px;
    }

    .header-contacts .contacts a {
        font-size: 16px;
    }
}
