/* ==========================================================================
   Electro Home v11 — Chusoon 定制（复刻 indulane.com 分销商城首页）
   ========================================================================== */

/* ---- Hero（slider block 内自研轮播） ---- */
/* 覆盖旧版 chusoon.css 中同名 .cs-hero 深色样式 */
.cs-hero {
	position: relative;
	min-height: 540px;
	background: transparent;
	color: inherit;
	padding: 0;
}
.cs-hero::after { content: none; }
.cs-hero-track { position: relative; }

.cs-hero-slide {
	display: none;
	min-height: 540px;
}
.cs-hero-slide.is-active {
	display: block;
	animation: csHeroFade .7s ease both;
}
@keyframes csHeroFade {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

.cs-hero-inner {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	min-height: 540px;
	padding: 2.75rem .5rem 3.25rem;
}
.cs-hero-copy { flex: 1 1 58%; max-width: 680px; }

.cs-hero-slide .cs-hero-eyebrow {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #0f4fd8;
	margin-bottom: 1.1rem;
}
.cs-hero-slide .cs-hero-title {
	font-family: 'Open Sans', sans-serif;
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.5px;
	font-size: clamp(30px, 4.2vw, 54px);
	color: #0e255c;
	margin-bottom: 1.2rem;
}
.cs-hero-slide .cs-hero-desc {
	font-size: 16px;
	line-height: 1.75;
	color: #3d4d6b;
	max-width: 560px;
	margin-bottom: 1.9rem;
}
.cs-hero-actions .btn {
	border-radius: 9px;
	font-size: 15px;
	letter-spacing: .6px;
	padding-top: .85rem;
	padding-bottom: .85rem;
	box-shadow: 0 10px 24px rgba(14, 37, 92, .12);
}
.cs-hero-actions .btn-warning { background-color: #fed700; border-color: #fed700; color: #26272d; }
.cs-hero-actions .btn-warning:hover { background-color: #eac600; border-color: #eac600; }
.cs-hero-actions .btn-outline-dark { border-width: 2px; }

/* 右侧 collage 小卡（slide 1） */
.cs-hero-collage {
	flex: 0 1 40%;
	max-width: 500px;
	margin-left: auto;
	display: grid;
	gap: 1rem;
}
.cs-mini-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border: 1px solid #e7ecf6;
	border-radius: 14px;
	padding: .7rem .9rem;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 14px 34px rgba(14, 37, 92, .10);
	transition: transform .25s ease, box-shadow .25s ease;
}
.cs-mini-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(14, 37, 92, .16); }
.cs-mini-img img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.cs-mini-meta { display: flex; flex-direction: column; gap: .15rem; }
.cs-mini-title { font-size: 14px; font-weight: 600; color: #26314b; }
.cs-card-price { font-size: 14px; font-weight: 700; color: #0f4fd8; }
.cs-card-quote { font-size: 12px; color: #f59e0b; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* slide 2 统计块 */
.cs-hero-stats {
	flex: 0 1 40%;
	max-width: 520px;
	margin-left: auto;
	display: grid;
	gap: 1rem;
}
.cs-stat {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	background: rgba(255, 255, 255, .92);
	border: 1px solid #e7ecf6;
	border-radius: 14px;
	padding: 1.05rem 1.4rem;
	box-shadow: 0 14px 34px rgba(14, 37, 92, .08);
}
.cs-stat strong {
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	font-weight: 800;
	color: #0f4fd8;
	white-space: nowrap;
}
.cs-stat span { font-size: 14px; font-weight: 600; color: #3d4d6b; }

.cs-hero-dots {
	position: absolute;
	left: 0; right: 0; bottom: 14px;
	display: flex;
	justify-content: center;
	gap: .55rem;
	z-index: 5;
}
.cs-hero-dots button {
	width: 10px; height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(15, 79, 216, .28);
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, transform .2s ease;
}
.cs-hero-dots button.is-active { background: #0f4fd8; transform: scale(1.3); }

@media (max-width: 991.98px) {
	.cs-hero-inner, .cs-hero, .cs-hero-slide { min-height: 0; }
	.cs-hero-inner { flex-direction: column; padding: 2.25rem .25rem 2.5rem; }
	.cs-hero-copy { max-width: none; }
	.cs-hero-collage, .cs-hero-stats { max-width: 100%; margin-left: 0; }
}

/* ---- Brands & Categories（白底品牌墙 + 8 分类） ---- */
.header-v11 + .site-content .brand-with-category {
	margin-bottom: 3rem;
	border-radius: .75rem;
	box-shadow: 0 4px 18px rgba(14, 37, 92, .06);
}
.brand-with-category .brands {
	border-bottom: 1px solid #eef1f8;
}
.brand-with-category .brands h6 {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	color: #0e255c;
}
.brand-with-category .brands img {
	max-height: 34px;
	opacity: .62;
	filter: grayscale(.4);
	transition: opacity .2s ease, filter .2s ease;
}
.brand-with-category .brands a:hover img { opacity: 1; filter: grayscale(0); }

.brand-with-category .categories .col > img {
	/* 原图 350x92，按原生比例展示，避免放大发虚（同 indulane 默认样式） */
	height: 92px;
	width: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.brand-with-category .categories .col {
	position: relative;
	overflow: hidden;
}
.brand-with-category .categories .col:hover > img { transform: scale(1.04); }
.brand-with-category .categories h6 {
	font-family: 'Open Sans', sans-serif;
	color: #0e255c;
	font-size: 15px;
	letter-spacing: .3px;
	padding-right: 2.4rem;
}
.brand-with-category .categories .view-all {
	width: 34px; height: 34px;
	font-size: 13px;
	color: #fff;
	background: #0f4fd8;
	border-radius: 50%;
	transition: background .2s ease, transform .2s ease;
}
.brand-with-category .categories .col:hover .view-all { background: #0a3bb0; transform: translateX(2px); }
.brand-with-category .categories ul li a {
	font-size: 13px;
	color: #5b6b8c;
}
.brand-with-category .categories ul li a:hover { color: #0f4fd8; text-decoration: underline; }

/* ---- Banner With Products Carousel（OUTLET 深色区） ---- */
.banner-with-products-carousel {
	margin-bottom: 3.25rem;
}
.banner-with-products-carousel .banner { padding-left: 0; padding-right: 0; }
.banner-with-products-carousel .banner h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: clamp(30px, 3.4vw, 44px);
	letter-spacing: 1px;
}
.banner-with-products-carousel .banner .btn {
	background: #fed700;
	border-color: #fed700;
	color: #26272d;
	border-radius: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	font-size: 14px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.banner-with-products-carousel .banner .btn:hover { background: #eac600; border-color: #eac600; color: #26272d; }
.banner-tag .banner-sub-title { font-size: 14px; letter-spacing: 2px; font-weight: 600; }
.banner-offer-text sup { font-size: 30px; top: -1em; }
.banner-offer-text sub { font-size: 14px; bottom: -.6em; }

/* 深色块内产品卡配色 */
.banner-with-products-carousel .product {
	background: #fff;
	border-radius: .6rem;
	overflow: hidden;
}

/* ---- Two banners（两张促销横幅） ---- */
.home-two-banners { margin-bottom: 3.25rem; }
.home-two-banners .banners > .banner img {
	border-radius: .6rem;
	width: 100%;
	object-fit: cover;
	box-shadow: 0 10px 30px rgba(14, 37, 92, .10);
}

/* ---- Products carousels ---- */
section.section-products-carousel { margin-bottom: 3.4rem; }
.section-products-carousel .section-header .section-title,
.section-products-carousel .section-header h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	letter-spacing: -.3px;
	color: #0e255c;
}
.section-products-carousel .products .product {
	border: 1px solid #e7ecf6;
	border-radius: .6rem;
}
.section-products-carousel .products .product:hover {
	box-shadow: 0 14px 34px rgba(14, 37, 92, .10);
}

/* ---- 通用按钮（首页多区域） ---- */
a.btn.btn-primary, .btn-primary {
	background: #0f4fd8;
	border-color: #0f4fd8;
}

@media (max-width: 575.98px) {
	.brand-with-category .categories .col > img { height: 92px; }
}

/* ==========================================================================
   Header v11 顶部导航区 — 浅色化
   官方默认把 masthead 做成深色(#262626)胶囊；CHUSOON 的 LOGO 为深色透明底，
   压在深色上无法突出。改为白底浅色，还原 indulane 参考站清爽的顶部。
   ========================================================================== */
.header-v11 .masthead {
	background-color: #ffffff;
	border: 1px solid #e7ecf6;
	box-shadow: 0 6px 22px rgba(14, 37, 92, .07);
}

/* 搜索框浅色化：灰底浅白 -> 浅灰底深字 */
.header-v11 .navbar-search .form-control,
.header-v11 .navbar-search .input-text,
.header-v11 .navbar-search .search-categories,
.header-v11 .navbar-search input[type=email],
.header-v11 .navbar-search input[type=password],
.header-v11 .navbar-search input[type=search],
.header-v11 .navbar-search input[type=text]:not(.form-control):not(input[type=email]):not(input[type=url]):not(input[type=password]):not(input[type=search]):not(textarea):not(.input-text),
.header-v11 .navbar-search input[type=url],
.header-v11 .navbar-search textarea {
	background-color: #f2f4f8;
}
.header-v11 .navbar-search input[type=search],
.header-v11 .navbar-search select,
.header-v11 .navbar-search .input-search-field input {
	color: #333e48;
}
.header-v11 .navbar-search input[type=search]::placeholder,
.header-v11 .navbar-search .input-search-field input::placeholder {
	color: #8a93a3;
}
.header-v11 .navbar-search select {
	background-color: #f2f4f8;
}

/* 图标 / 汉堡按钮 白字 -> 深字 */
.header-v11 .hidden-lg-down .header-icon > a,
.header-v11 .hidden-lg-down .header-icon > a:hover,
.header-v11 .hidden-lg-down .header-icon > a:focus,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper .navbar-toggler,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper .navbar-toggler:active,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper .navbar-toggler:focus,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper .navbar-toggler:hover,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper button,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper button:active,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper button:focus,
.header-v11 .hidden-lg-down .off-canvas-navigation-wrapper button:hover {
	color: #0e255c;
}

/* Logo：裁剪掉白边后的横版 logo（约 2.65:1），在 masthead 内按比例放大显示 */
.header-v11 .masthead .custom-logo-link img,
.header-v11 .masthead .header-logo-area img {
	height: 72px;
	max-height: 96px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
}

/* 窄屏/手持 header 的 CHUSOON logo（覆盖主题默认 SVG 与 100px 限宽） */
.handheld-header-v2 .header-logo .cs-handheld-logo img,
.cs-handheld-logo .cs-handheld-logo-img {
	max-width: 240px;
	height: 44px;
	width: auto;
}
@media (max-width: 575.98px) {
	.handheld-header-v2 .header-logo .cs-handheld-logo img,
	.cs-handheld-logo .cs-handheld-logo-img {
		height: 40px;
	}
}

/* footer-contact 里的同一 logo：限宽按比例显示 */
.footer-contact .custom-logo-link img {
	max-width: 240px;
	max-height: 92px;
	width: auto;
	height: auto;
	object-fit: contain;
}
