/* ===========================================================
   Главная страница ШИХОН: слайдер, преимущества, новинки, новости, производители.
   Только сетка Bootstrap и собственные классы sh-*.
   =========================================================== */

/* --- Слайдер --- */
.sh-hero { position: relative; overflow: hidden; background: var(--ink); }
.sh-hero-track { position: relative; height: clamp(260px, 32vw, 450px); }
.sh-hero-slide { position: absolute; inset: 0; display: flex; align-items: center; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.sh-hero-slide:first-child { opacity: 1; visibility: visible; }
.sh-hero.is-ready .sh-hero-slide { opacity: 0; visibility: hidden; }
.sh-hero.is-ready .sh-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.sh-hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 30, .55) 0%, rgba(10, 20, 30, .15) 55%, rgba(10, 20, 30, 0) 100%); }
.sh-hero-text { position: relative; z-index: 3; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 15px 24px; color: #fff; }
.sh-hero-title { max-width: 640px; margin: 0 0 12px; font-family: var(--sh-head-font); font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; line-height: 1.2; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.sh-hero-sub { max-width: 520px; margin: 0 0 18px; font-family: var(--sh-head-font); font-size: 16px; font-weight: 500; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.sh-hero-btn { display: inline-block; padding: 9px 26px; border-radius: 4px; background: #fff; color: var(--sh-ink); font-family: var(--sh-head-font); font-size: 14px; font-weight: 500; }
.sh-hero-btn:hover { background: var(--sh-beige); text-decoration: none; }
.sh-hero-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 9px; }
.sh-hero-dots button { width: 14px; height: 14px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.sh-hero-dots button[aria-current="true"] { background: #fff; }
.sh-hero-arrow { position: absolute; z-index: 5; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--sh-ink); cursor: pointer; }
.sh-hero-arrow:hover { background: #fff; }
.sh-hero-prev { left: 14px; }
.sh-hero-next { right: 14px; }
@media (max-width: 767.98px) {
	.sh-hero-sub { display: none; }
	.sh-hero-arrow { display: none; }
	.sh-hero-slide::before { background: linear-gradient(0deg, rgba(10, 20, 30, .6) 0%, rgba(10, 20, 30, .1) 70%); }
	.sh-hero-slide { align-items: flex-end; }
	.sh-hero-text { padding-bottom: 38px; }
}

/* --- Преимущества --- */
.sh-benefits { padding: 26px 0; background: var(--sh-beige); }
.sh-benefits-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sh-benefit { display: flex; align-items: center; gap: 13px; margin: 0; font-family: var(--sh-head-font); font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.sh-benefit img { flex: 0 0 37px; width: 37px; height: 37px; }
@media (max-width: 991.98px) { .sh-benefits-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .sh-benefits { padding: 16px 0; } .sh-benefits-list { gap: 12px; } .sh-benefit { font-size: 12px; } }

/* --- Блоки главной --- */
.sh-home-block { margin: 30px 0 10px; }
.sh-home-block h2 { margin: 0 0 14px; font-size: 24px; color: var(--sh-ink); }
.sh-home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sh-home-head h2 { margin: 0; }
.sh-home-more { font-family: var(--sh-head-font); font-size: 14px; color: var(--sh-blue); white-space: nowrap; }
.sh-home-intro p { max-width: 960px; color: var(--muted); line-height: 1.6; }

/* новости */
.sh-news { margin: 0 -8px; }
.sh-news > div { padding: 0 8px; margin-bottom: 12px; }
.sh-news-item { height: 100%; padding: 14px 16px; border-left: 3px solid var(--sh-sky); background: var(--panel-2); border-radius: 0 8px 8px 0; }
.sh-news-date { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted-2); }
.sh-news-item a { font-family: var(--sh-head-font); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--sh-ink); }
.sh-news-item a:hover { color: var(--sh-blue); }

/* производители */
.sh-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; list-style: none; margin: 0; padding: 14px 0; }
.sh-brands li { margin: 0; }
.sh-brands img { display: block; width: auto; max-width: 150px; max-height: 60px; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.sh-brands img:hover { filter: none; opacity: 1; }
@media (max-width: 575.98px) { .sh-brands { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; } .sh-brands img { max-width: 110px; } }
@media (max-width: 575.98px) {
	.sh-home-block h2 { font-size: 20px; }
	.sh-home-head { margin-bottom: 10px; }
}
