/* templet6 home */
.t6-home { padding-bottom: 10px; }

.t6-hero { background: #111; }
.t6-hero-swiper { background: #222; }
.t6-hero-slide {
    min-height: clamp(260px, 42vw, 460px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.t6-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.t6-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, transparent);
}
.t6-hero-slide.has-image:not(:has(.t6-hero-copy))::before { background: transparent; }
.t6-hero-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 520px;
    padding: 40px 0;
}
.t6-hero-copy p {
    margin: 0 0 8px;
    letter-spacing: .16em;
    font-size: 13px;
    opacity: .85;
}
.t6-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
}
.t6-hero-copy span {
    display: block;
    margin-bottom: 22px;
    opacity: .9;
}
.t6-hero-a {
    background: linear-gradient(135deg, #1f2937, #6b7280);
}
.t6-hero-b {
    background: linear-gradient(145deg, #7c2d12, #f07c1e);
}
.t6-hero-c {
    background: linear-gradient(160deg, #0f172a, #1d4ed8);
}
.t6-hero-swiper .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    border-radius: 0;
    background: rgba(255,255,255,.45);
    opacity: 1;
}
.t6-hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

.t6-search-band {
    background: var(--t6-orange);
    color: #fff;
}
.t6-search-inner {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 0;
}
.t6-hot-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 13px;
}
.t6-hot-links a { color: #fff; opacity: .95; }
.t6-hot-links a:hover { text-decoration: underline; }
.t6-search {
    display: flex;
    width: min(100%, 320px);
    height: 36px;
    border: 1px solid rgba(255,255,255,.8);
}
.t6-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 12px;
    min-width: 0;
}
.t6-search input::placeholder { color: rgba(255,255,255,.75); }
.t6-search button {
    width: 42px;
    border: 0;
    background: var(--t6-dark);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.t6-block { padding: 42px 0 20px; background: #fff; }
.t6-block-more { text-align: center; margin-top: 28px; }

.t6-cat-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 28px;
    position: relative;
    z-index: 2;
}
.t6-cat-tag {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #444;
    background: #f0f0f0;
    border-radius: 2px;
    transition: background .2s, color .2s, box-shadow .2s;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
.t6-cat-tag:hover {
    background: #e6e6e6;
    color: #222;
}
.t6-cat-tag.is-active {
    background: var(--t6-orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(240, 124, 30, .28);
}
.t6-product-panel { display: none !important; }
.t6-product-panel.is-active { display: block !important; }

.t6-about {
    padding: 48px 0;
    background:
        linear-gradient(120deg, rgba(240,124,30,.92), rgba(45,45,45,.88)),
        #333;
    color: #fff;
}
.t6-about-inner { text-align: center; max-width: 820px; }
.t6-about-text {
    margin: 0 auto 22px;
    line-height: 1.9;
    opacity: .92;
}

.t6-news-list { display: grid; gap: 12px; }
.t6-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--t6-line);
    background: #fafafa;
}
.t6-news-item:hover { border-color: var(--t6-orange); }
.t6-news-item h3 { margin: 0 0 6px; font-size: 15px; color: #333; }
.t6-news-item time { color: #999; font-size: 12px; }
.t6-news-item > span { color: var(--t6-orange); white-space: nowrap; font-size: 13px; }

.template-templet6 .home-section { background: #fff; }
.template-templet6 .home-section .container {
    width: min(100% - 32px, var(--t6-max));
    margin-inline: auto;
}

@media (max-width: 768px) {
    .t6-search-inner { flex-direction: column; align-items: stretch; }
    .t6-search { width: 100%; }
    .t6-hero-copy { padding: 28px 0; }
    .t6-cat-tags { gap: 8px; margin-bottom: 20px; }
    .t6-cat-tag { padding: 9px 16px; font-size: 15px; }
}
