/* УНИКАЛЬНЫЕ СТИЛИ ДЛЯ СТАРТОВОЙ СТРАНИЦЫ (index.html) */

/* Промо-слайдер */
#promo-bar {
    height: 40px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 12px;
    letter-spacing: 0.5px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 101;
}

.promo-slide {
    display: inline-block;
    width: 100%;
}

.promo-slide a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 500;
}

/* Hero Slider */
.main-slider {
    width: 100%;
    height: 100vh;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-bg {
    background-image: image-set(
        url('assets/images/hero-slide-q50.webp') type('image/webp'),
        url('assets/images/hero-slide.jpg') type('image/jpeg')
    );
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: image-set(
            url('assets/images/hero-slide-mobile.webp') type('image/webp'),
            url('assets/images/hero-slide.jpg') type('image/jpeg')
        );
    }
    .main-slider {
        max-height: 839px;
        overflow: hidden;
    }
    .main-slider .slick-dots {
        bottom: 0;
    }
    .hero-slide:first-child {
        /* margin-bottom: 42px; */
    }
    .hero-slide {
        /* height: 97vh; */
    }
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 300;
    margin: 0;
    letter-spacing: -1px;
    color: #fff;
}

.hero-content p {
    color: #fff;
}

.hero-slide {
    height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-picture {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 300;
    margin: 0;
    letter-spacing: -1px;
    color: #fff;
}


.btn {
    padding: 14px 48px;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.3s;
}

.btn:hover {
    background: #fff;
    color: #000;
}

.video-btn {
    background: rgba(0,0,0,0.6);
    border: 1px solid #fff;
    border-radius: 40px;
    padding: 12px 32px;
    margin-top: 20px;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

/* Секции контента */
.section {
    padding: 80px 80px 60px;
    border-bottom: 1px solid #f0f0f0;
}

.section h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}

/* Категории */
.cat-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    margin: 0 15px;
    border-radius: 12px;
    transition: transform 0.4s;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cat-card:hover img {
    transform: scale(1.05);
}

.cat-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Товары */
.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-card {
    background: #f9f9f9;
    padding: 16px 12px;
    transition: box-shadow 0.2s;
}

.product-card img:not(.thumb) {
        width: 100%;
    max-height: 350px;
    height: auto;
    object-fit: contain;
    /* background: #fff; */
    margin-bottom: 12px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0 4px;
}

.product-sku {
    font-size: 13px;
    color: #777;
    letter-spacing: 0.5px;
}

.product-dimensions {
    font-size: 13px;
    color: #555;
    margin: 8px 0;
}

.btn-detail {
    display: inline-block;
    margin-top: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
}

.thumb-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.thumb {
    width: 55px !important;
    height: 55px !important;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: opacity 0.2s;
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    border-color: #000;
    opacity: 1;
}

/* Коллекции */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.collection-block {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.collection-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.collection-block:hover img {
    transform: scale(1.02);
}

.collection-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.collection-info h3 {
    font-size: 28px;
    font-weight: 300;
}

.collection-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Вдохновение */
.inspire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.inspire-card {
    background: #fefefe;
}

.inspire-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.inspire-card h4 {
    font-size: 22px;
    font-weight: 400;
    margin: 20px 0 12px;
}

/* SEO текст с разворотом */
.seo-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content {
    /* max-height: 120px;
    overflow: hidden;
    transition: max-height 0.6s ease; */
}

.seo-content.expanded {
    max-height: 800px;
}

.seo-toggle {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    cursor: pointer;
    border-bottom: 1px solid #000;
    padding: 0 0 4px;
}

/* Лидер */
.leader-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    background: #fff;
    padding: 40px 0;
}

.leader-text {
    flex: 1;
}

.leader-logo {
    flex: 0 0 200px;
    text-align: center;
}

.leader-logo img {
    max-width: 180px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .section {
        padding: 60px 30px;
    }
    .grid,
    .inspire-grid,
    .collections-grid {
        grid-template-columns: 1fr 1fr;
    }
    .leader-block {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 16px;
    }
    .grid,
    .inspire-grid,
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .leader-block {
        gap: 24px;
        padding: 30px 0;
    }
}

@media(max-width: 400px) {
    .products-grid { grid-template-columns: repeat(1, 1fr); }
}