/* =========================================================
   Radios Shop - main.css
   Layout & UI cho trang chủ, bám theo bố cục ảnh mẫu.
   ========================================================= */

:root {
	/* ================= BẢNG MÀU ================= */
	/* PRIMARY - xanh dương, suy từ logo Ishan #00A0E8 */
	--brand-50:  #e7f6fe;
	--brand-100: #c6ecfc;
	--brand-200: #90dcf8;
	--brand-300: #55c8f3;
	--brand-400: #1fb2ed;
	--brand-500: #00a0e8;   /* = màu logo */
	--brand-600: #0285c1;
	--brand-700: #076a98;
	--brand-800: #0d5577;
	--brand-900: #123f5b;

	/* SECONDARY - xanh lá công nghiệp (hành động phụ, trạng thái tích cực) */
	--sec-50:  #e6f7ef;
	--sec-100: #c3ecda;
	--sec-200: #8fdcbc;
	--sec-300: #54c79a;
	--sec-400: #22b37f;
	--sec-500: #12a66b;
	--sec-600: #0d8a58;
	--sec-700: #0b6f48;
	--sec-800: #0b5a3c;
	--sec-900: #0b4733;

	/* ACCENT - vàng hổ phách, tương phản với xanh (badge, nổi bật, đánh giá) */
	--acc-50:  #fef4e2;
	--acc-100: #fde3b6;
	--acc-200: #fbcd7f;
	--acc-300: #f8b446;
	--acc-400: #f5a623;
	--acc-500: #e8930c;
	--acc-600: #c9790a;
	--acc-700: #a4610d;
	--acc-800: #824d11;
	--acc-900: #6a3f11;

	/* NEUTRAL - xám lạnh ngả xanh, ăn tông toàn bộ */
	--ink-50:  #f6f8fc;
	--ink-100: #eef2f7;
	--ink-200: #e3e8f0;
	--ink-300: #cbd4e1;
	--ink-400: #93a1b5;
	--ink-500: #64748b;
	--ink-600: #475467;
	--ink-700: #334155;
	--ink-800: #1e293b;
	--ink-900: #0f1a2b;

	/* ================= TOKEN NGỮ NGHĨA ================= */
	/* Primary (hành động chính, nhận diện) */
	--color-primary:        var(--brand-500);   /* logo, icon, viền, accent */
	--color-primary-dark:   var(--brand-600);   /* nền nút / hover */
	--color-primary-darker: var(--brand-700);
	--color-primary-soft:   var(--brand-50);
	--color-primary-ink:    var(--brand-800);   /* chữ/link màu primary trên nền sáng - AA */

	/* Secondary (hành động phụ, "có sẵn", section thay thế) */
	--color-secondary:      var(--sec-500);
	--color-secondary-dark: var(--sec-600);     /* nền nút / hover */
	--color-secondary-soft: var(--sec-50);
	--color-secondary-ink:  var(--sec-700);     /* chữ/viền secondary trên nền sáng - AA */

	/* Accent (badge, nhãn nổi bật, đánh giá) - KHÔNG dùng cho chữ dài */
	--color-accent:        var(--acc-400);      /* nền badge, sao đánh giá */
	--color-accent-strong: var(--acc-500);      /* hover */
	--color-accent-soft:   var(--acc-50);
	--color-accent-ink:    var(--acc-700);      /* chữ accent trên nền sáng - AA */

	--color-dark:   var(--ink-900);
	--color-dark-2: var(--ink-800);

	/* Phân cấp chữ: heading > text > muted > subtle */
	--color-heading:     var(--ink-900);   /* ~16:1 trên trắng */
	--color-text:        var(--ink-800);   /* ~14:1 - body */
	--color-text-muted:  var(--ink-500);   /* ~4.8:1 - phụ (đạt AA) */
	--color-text-subtle: var(--ink-400);   /* chỉ trang trí, không cho chữ quan trọng */
	--color-on-dark:        #ffffff;
	--color-on-dark-muted:  rgba(255,255,255,.72);

	--color-border:        var(--ink-200);
	--color-border-strong: var(--ink-300);
	--color-bg:      #ffffff;
	--color-bg-alt:  var(--ink-50);
	--color-bg-alt2: var(--ink-100);

	--color-star: var(--color-accent);   /* sao đánh giá */
	--radius: 4px;
	--container-width: 1200px;
	/* Latin/Việt: Be Vietnam Pro + Inter · Trung: font CJK hệ điều hành */
	--font-heading: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	font-size: 14px;
	line-height: 1.6;
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); margin: 0; color: var(--color-heading); }
p { margin: 0; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 15px;
}

.price-old { color: var(--color-text-subtle); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.price-new { color: var(--color-primary); font-weight: 700; }

.rating-stars { color: var(--color-star); font-size: 12px; display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.rating-stars .rating-count { color: var(--color-text-muted); margin-left: 4px; }

.btn-shopnow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 600;
	padding: 12px 26px;
	border-radius: 2px;
	transition: background .2s ease;
}
.btn-shopnow:hover { background: var(--color-primary-dark); }
.btn-shopnow.btn-dark { background: var(--color-dark); }
.btn-shopnow.btn-dark:hover { background: #000; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
	background: var(--color-dark);
	color: #cfd2d8;
	font-size: 12px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 36px;
	gap: 20px;
}
.topbar-left { display: flex; gap: 22px; }
.topbar-left li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-left i { color: var(--color-primary); font-size: 11px; }
.topbar-center { flex: 1; text-align: center; color: #9aa0ab; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { color: #cfd2d8; }
.topbar-social a:hover { color: var(--color-primary); }

/* Nút chuyển ngôn ngữ nằm trên topbar tối */
.topbar-right .lang-switcher { color: #cfd2d8; }
.topbar-right .lang-switcher > span { display: inline-flex; align-items: center; }
.topbar-right .lang-switcher:hover { color: #fff; }
.topbar-right .lang-dropdown { left: auto; right: 0; color: var(--color-text); }

@media (max-width: 900px) {
	.topbar-left, .topbar-center { display: none; }
}

/* =========================================================
   Main header
   ========================================================= */
.site-header { background: #fff; padding: 18px 0; }
.header-main { display: flex; align-items: center; gap: 30px; }

.site-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--color-heading); flex-shrink: 0; }
.site-logo i { color: var(--color-primary); font-size: 24px; }
.site-logo .radios-img { display: inline-flex; align-items: center; }
.site-logo .radios-img img { height: 34px; width: auto; }
.site-logo-text:empty { display: none; }

.header-search { flex: 1; display: flex; max-width: 620px; border: 1px solid var(--color-border); border-radius: 2px; overflow: hidden; }
.header-search .search-cat { border: none; border-right: 1px solid var(--color-border); background: var(--color-bg-alt); padding: 0 14px; font-size: 13px; color: var(--color-text-muted); max-width: 200px; }
.header-search input[type="search"] { flex: 1; border: none; padding: 12px 14px; font-size: 13px; min-width: 0; }
.header-search input[type="search"]:focus, .header-search .search-cat:focus { outline: none; }
.header-search button { background: var(--color-primary); color: #fff; padding: 0 20px; }
.header-search button:hover { background: var(--color-primary-dark); }

/* Từ khoá tìm kiếm nổi bật - dải riêng, ngay trên thanh menu */
.hot-keywords-strip { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); margin-top: 12px; }
.hot-keywords-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 9px; padding-bottom: 9px; }
.hot-keywords { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hot-keywords a { font-size: 13px; color: var(--color-text-muted); white-space: nowrap; }
.hot-keywords a:hover { color: var(--color-primary-ink); text-decoration: underline; }

@media (max-width: 992px) {
	.hot-keywords-strip { display: none; }
}

.header-tools { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-tools-repeater { display: inline-flex; align-items: center; gap: 22px; }

/* Bên phải header: CTA Zalo + số điện thoại */
.header-contact { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; }
.header-zalo-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--color-primary); color: #fff;
	padding: 10px 18px; border-radius: var(--radius);
	font-weight: 600; font-size: 13px; white-space: nowrap;
}
.header-zalo-btn:hover { background: var(--color-primary-dark); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text); white-space: nowrap; }
.header-phone i { color: var(--color-primary); font-size: 18px; }
.header-phone-num { font-family: var(--font-heading); font-weight: 700; font-size: 17px; }
.header-phone:hover .header-phone-num { color: var(--color-primary); }

.tool-select { position: relative; font-size: 13px; color: var(--color-text); cursor: pointer; white-space: nowrap; }
.tool-select i { font-size: 10px; margin-left: 4px; }

.lang-switcher .lang-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 10px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	min-width: 150px;
	box-shadow: 0 8px 24px rgba(20,22,27,.1);
	z-index: 50;
}
/* Cầu nối vô hình lấp khoảng trống 10px giữa nút và dropdown,
   nếu không hover sẽ bị ngắt khi rê chuột xuống và không bấm được EN/VI. */
.lang-switcher::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 12px;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown { display: block; }
.lang-dropdown li a { display: block; padding: 9px 16px; font-size: 13px; color: var(--color-text); }
.lang-dropdown li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.lang-dropdown li a.is-active { color: var(--color-primary); font-weight: 600; }
.tool-icon { position: relative; font-size: 18px; color: var(--color-heading); }
.tool-icon:hover { color: var(--color-primary); }
.cart-count {
	position: absolute; top: -8px; right: -10px;
	background: var(--color-primary); color: #fff;
	font-size: 10px; width: 16px; height: 16px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}

@media (max-width: 992px) {
	.header-main { flex-wrap: wrap; align-items: center; }
	.header-search { order: 3; flex: 0 0 100%; max-width: none; margin-top: 12px; }
	.header-contact { margin-left: auto; }
}
@media (max-width: 560px) {
	.header-main { gap: 14px; }
	.header-search .search-cat { display: none; }
	.header-phone-num { font-size: 14px; }
	.header-zalo-btn { padding: 9px 12px; font-size: 12px; }
	.site-logo .radios-img img { height: 30px; }
}
@media (max-width: 380px) {
	.header-zalo-btn span { display: none; }
	.header-zalo-btn { padding: 9px 11px; }
}

/* =========================================================
   Category nav bar
   ========================================================= */
.main-navigation { background: var(--color-dark-2); position: relative; }
.nav-inner { display: flex; align-items: center; height: 50px; }

.all-cat { position: relative; flex-shrink: 0; margin-right: 10px; align-self: stretch; }
.all-cat-toggle {
	background: var(--color-primary);
	color: #fff;
	height: 100%;
	padding: 0 22px;
	font-weight: 600;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.all-cat-caret { font-size: 10px; margin-left: 4px; transition: transform .15s ease; }
.all-cat.is-open .all-cat-caret { transform: rotate(180deg); }

/* Panel danh mục cha */
.all-cat-panel {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #fff;
	border: 1px solid var(--color-border);
	box-shadow: 0 14px 34px rgba(20,22,27,.14);
	z-index: 70;
	display: none;
}
.all-cat.is-open .all-cat-panel { display: block; }

.all-cat-item { position: relative; }
.all-cat-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 16px;
	font-size: 13px;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
}
.all-cat-item:last-child > a { border-bottom: none; }
.all-cat-item > a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.all-cat-item > a i { font-size: 10px; color: var(--color-text-muted); }

/* Danh mục con (flyout khi hover) */
.all-cat-sub {
	position: absolute;
	top: -1px;
	left: 100%;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--color-border);
	box-shadow: 0 14px 34px rgba(20,22,27,.14);
	display: none;
}
.all-cat-item.has-sub:hover > .all-cat-sub { display: block; }
.all-cat-sub li a {
	display: block;
	padding: 9px 16px;
	font-size: 13px;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
}
.all-cat-sub li:last-child a { border-bottom: none; }
.all-cat-sub li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

.primary-menu { display: flex; align-items: center; flex-wrap: wrap; }
.primary-menu li a {
	display: block;
	color: #d6d8de;
	padding: 0 16px;
	height: 50px;
	line-height: 50px;
	font-size: 13px;
}
.primary-menu li a:hover { color: var(--color-primary); }

@media (max-width: 992px) {
	/* 1 nút menu duy nhất, rộng hết hàng */
	.nav-inner { height: 48px; }
	.all-cat { position: static; flex: 1; margin-right: 0; }
	.all-cat-toggle { width: 100%; justify-content: space-between; text-transform: uppercase; letter-spacing: .03em; }
	.all-cat-caret { margin-left: auto; }

	/* Menu chính gốc: ẩn - các mục được JS gộp vào panel danh mục */
	.primary-menu { display: none; }

	/* Panel = dropdown full-width, chứa cả link trang + danh mục */
	.all-cat-panel {
		position: absolute; top: 100%; left: 0; right: 0; min-width: 0;
		max-height: 76vh; overflow-y: auto;
		border-left: none; border-right: none;
	}
	.all-cat-item--link > a { font-weight: 700; }
	.all-cat-item--link:last-of-type > a { border-bottom: 2px solid var(--color-border); }

	/* Danh mục con: accordion trong panel (bấm mũi tên để mở) */
	.all-cat-sub { position: static; left: auto; min-width: 0; border: none; box-shadow: none; display: none; background: var(--color-bg-alt); }
	.all-cat-item.has-sub.is-open > .all-cat-sub { display: block; }
	.all-cat-item.has-sub:hover > .all-cat-sub { display: none; }
	.all-cat-item.has-sub.is-open:hover > .all-cat-sub { display: block; }
	.all-cat-item.has-sub.is-open > a i { transform: rotate(90deg); }
	.all-cat-item > a i { transition: transform .15s ease; }
	.all-cat-sub li a { padding-left: 30px; }
}

/* =========================================================
   Hero slider (full width)
   ========================================================= */
.hero-slider { position: relative; overflow: hidden; background: var(--color-dark); }
/* Chiều cao khung = do slide đầu tiên quyết định (ảnh full width, không cắt) */
.hero-slider-track { position: relative; min-height: 0; }
/* Slide đầu là màu nền (không ảnh) -> cần sàn chiều cao */
.hero-slide2:first-child:not(.has-bg-image) { min-height: 260px; }

.hero-slide2 {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
	display: flex;
	align-items: center;
	background: var(--slide-bg, var(--color-dark));
	background-size: cover;
	background-position: center;
}
/* Slide đầu nằm trong luồng -> đặt chiều cao thật cho cả khung */
.hero-slide2:first-child { position: relative; }
.hero-slide2.is-active { opacity: 1; visibility: visible; }

/* Ảnh nền: full chiều ngang, giữ nguyên tỉ lệ, không cắt, không lớp phủ */
.hero-slide2-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.hero-slide2:first-child .hero-slide2-bg {
	position: static;
	height: auto;
}
.hero-slide2.has-bg-image .hero-slide2-inner {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 1;
}

.hero-slide2-inner {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 48px clamp(16px, 4vw, 40px);
	color: #fff;
}

.hero-flag {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 2px;
	margin-bottom: 18px;
}
.hero-slide2-inner .hero-title {
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 52px);
	line-height: 1.12;
	margin: 0 0 12px;
}
.hero-slide2-inner .hero-subtitle { color: rgba(255,255,255,.82); margin-bottom: 16px; font-size: 15px; }
.hero-slide2-inner .hero-price { font-size: 22px; margin-bottom: 20px; color: #fff; }
.hero-slide2-inner .hero-price .price-new { font-size: 26px; }
.hero-slide2-inner .hero-price .price-old { color: rgba(255,255,255,.55); }

.hero-slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.16);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: background .15s ease;
}
.hero-slider-nav:hover { background: var(--color-primary); }
.hero-slider-prev { left: clamp(10px, 3vw, 30px); }
.hero-slider-next { right: clamp(10px, 3vw, 30px); }

.hero-slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}
.hero-slider-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.4);
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}
.hero-slider-dots button.is-active { width: 26px; border-radius: 5px; background: #fff; }

@media (max-width: 600px) {
	.hero-slider-nav { display: none; }
}

/* =========================================================
   Feature strip
   ========================================================= */
.feature-strip { border-bottom: 1px solid var(--color-border); padding: 28px 0; }
.feature-strip-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 180px; }
.feature-item i { font-size: 28px; color: var(--color-primary); }
.feature-item .radios-img img { width: 40px; height: 40px; object-fit: contain; }
.feature-item h5 { font-size: 14px; margin-bottom: 3px; }
.feature-item p { font-size: 12px; color: var(--color-text-muted); }

/* =========================================================
   Section head / tabs
   ========================================================= */
.section { padding: 44px 0; }
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}
.section-head h2, .section-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.section-head h2 span, .section-head h3 span { color: var(--color-primary); }
.section-head { padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }
.section-head-center { justify-content: center; text-align: center; }

.section-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab-btn {
	padding: 9px 16px;
	font-size: 13px;
	color: var(--color-text-muted);
	border: 1px solid var(--color-border);
	border-radius: 2px;
	background: #fff;
}
.tab-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.section-tabs-underline .tab-btn { border: none; border-bottom: 2px solid transparent; padding: 4px 12px; background: none; }
.section-tabs-underline .tab-btn.is-active { border-color: var(--color-primary); color: var(--color-primary); }

/* =========================================================
   Product card (vertical)
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr)); gap: 20px; }
.product-grid + .product-grid { margin-top: 20px; }

.product-card {
	position: relative;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 16px;
	background: #fff;
	transition: box-shadow .2s ease;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(20,22,27,.08); }

.badge {
	position: absolute; top: 10px; left: 10px;
	background: var(--color-accent); color: var(--acc-900);
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	padding: 3px 9px; border-radius: 3px; z-index: 1;
}
.badge-new { background: var(--color-secondary-dark); color: #fff; }

.wishlist-btn {
	position: absolute; top: 10px; right: 10px; z-index: 1;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--color-bg-alt); color: var(--color-text-muted);
	display: flex; align-items: center; justify-content: center;
	font-size: 13px;
}
.wishlist-btn:hover { background: var(--color-primary); color: #fff; }

.product-thumb {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1;
	background: var(--color-bg-alt);
	border-radius: var(--radius);
	font-size: 46px;
	color: #c7cad1;
	margin-bottom: 14px;
}
.product-card:hover .product-thumb { color: var(--color-primary); }

.product-name { font-size: 13px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; height: 2.8em; overflow: hidden; }
.product-name a:hover { color: var(--color-primary); }
.product-price { font-size: 14px; }

/* Tablet/mobile: bỏ qua số cột tuỳ chỉnh, dùng 3 rồi 2 để card không bị bóp */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .product-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Category sidebar + Trending
   ========================================================= */
.trending-inner { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.trending-inner.no-aside { grid-template-columns: 1fr; }

.category-sidebar { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.category-sidebar h3 { font-size: 15px; padding: 16px 18px; border-bottom: 1px solid var(--color-border); }
.category-sidebar li a {
	display: flex; align-items: center; justify-content: space-between;
	padding: 11px 18px; font-size: 13px; border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
}
.category-sidebar li:last-child a { border-bottom: none; }
.category-sidebar li a i:first-child { color: var(--color-primary); width: 18px; margin-right: 4px; }
.category-sidebar li a:hover { color: var(--color-primary); background: var(--color-bg-alt); }

.trending-box { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; }
.trending-box .section-head { margin-bottom: 18px; }
.trending-box .section-head h3 { font-size: 18px; }

.h-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-product-grid-3 { grid-template-columns: repeat(3, 1fr); }

.h-product-card { display: flex; gap: 12px; align-items: center; }
.h-product-thumb {
	flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--radius);
	background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: var(--color-primary);
}
.h-product-name { font-size: 13px; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.h-product-name a:hover { color: var(--color-primary); }

@media (max-width: 992px) { .trending-inner { grid-template-columns: 1fr; } .h-product-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Big categories grid
   ========================================================= */
.big-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.big-cat-card {
	display: flex; align-items: center; gap: 18px;
	border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 20px;
}
.big-cat-media {
	flex-shrink: 0; width: 90px; height: 90px; border-radius: var(--radius);
	background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center;
	font-size: 38px; color: var(--color-primary);
}
.big-cat-links li a { font-size: 13px; color: var(--color-text); display: block; padding: 3px 0; }
.big-cat-links li a:hover { color: var(--color-primary); }

@media (max-width: 992px) { .big-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .big-cat-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Sản phẩm theo nhóm cha (info + lưới)
   ========================================================= */
.catrow-section + .catrow-section { padding-top: 0; }
.catrow { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: stretch; }

.catrow__info {
	display: flex;
	flex-direction: column;
	background: var(--panel-bg, var(--color-dark));
	color: #fff;
	border-radius: 16px;
	padding: 30px 28px 32px;
}
.catrow__eyebrow {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 10px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .09em;
	color: rgba(255, 255, 255, .68);
	margin-bottom: 10px;
}
.catrow__info .catrow__title {
	color: #fff;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.catrow__desc { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.catrow__count {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	color: #fff;
	background: rgba(255, 255, 255, .16);
	padding: 4px 10px; border-radius: 999px;
	margin-bottom: 20px;
}
.catrow__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: auto; padding-top: 8px; }
.catrow__info .header-zalo-btn {
	background: #fff;
	color: var(--panel-bg, var(--color-primary-ink));
	padding: 12px 20px; font-size: 13px;
}
.catrow__info .header-zalo-btn:hover { background: rgba(255, 255, 255, .88); }
.catrow__all {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-heading); font-weight: 700; font-size: 13px;
	color: #fff;
}
.catrow__all:hover { color: rgba(255, 255, 255, .82); }
.catrow__all i { transition: transform .15s ease; }
.catrow__all:hover i { transform: translateX(3px); }

.catrow .catrow__list .product-grid { grid-template-columns: repeat(var(--grid-cols, 2), minmax(0, 1fr)); }

@media (max-width: 992px) {
	.catrow { grid-template-columns: 1fr; gap: 24px; }
	.catrow__actions { margin-top: 4px; }
	.catrow__actions { flex-direction: row; flex-wrap: wrap; }
	.catrow .catrow__list .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.catrow .catrow__list .product-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.catrow .catrow__list .product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--color-bg-alt); }
.faq-inner { max-width: 820px; }
.faq-head { text-align: center; margin-bottom: 26px; }
.faq-title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.faq-subtitle { color: var(--color-text-muted); margin-top: 8px; font-size: 14px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--color-primary); box-shadow: 0 6px 20px rgba(15, 26, 43, .06); }

.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 18px;
	cursor: pointer;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--color-heading);
	list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q i {
	flex-shrink: 0;
	font-size: 12px;
	color: var(--color-primary);
	transition: transform .2s ease;
}
.faq-item[open] .faq-q i { transform: rotate(180deg); }

.faq-a {
	padding: 0 18px 16px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-text);
}
.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--color-primary-ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .faq-q i { transition: none; } }

/* =========================================================
   Liên hệ (2 cột: nội dung + form)
   ========================================================= */
.contact-section { background: var(--color-primary-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.contact-info .contact-title {
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.02em;
	max-width: 20ch;
	text-wrap: balance;
}
.contact-info .contact-subtitle { color: var(--color-text-muted); margin: 16px 0 24px; font-size: 14.5px; max-width: 42ch; }

.contact-chips { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.contact-chip {
	display: flex; align-items: center; gap: 14px;
	background: var(--color-bg);
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 12px 16px;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-heading);
	box-shadow: 0 4px 14px rgba(15, 26, 43, .06);
	transition: transform .15s ease, box-shadow .15s ease;
}
.contact-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 26, 43, .1); }
.contact-chip__ic {
	flex-shrink: 0;
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-primary);
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
}
.contact-chip:nth-child(2) .contact-chip__ic { background: var(--color-secondary-dark); }

.contact-extra { margin-top: 18px; font-size: 12.5px; line-height: 2; color: var(--color-text-muted); }
.contact-extra i { color: var(--color-primary); width: 16px; margin-right: 4px; }

/* --- Form card --- */
.contact-form-card {
	background: var(--color-bg);
	border-radius: 18px;
	padding: clamp(22px, 3.5vw, 34px);
	box-shadow: 0 20px 50px rgba(15, 26, 43, .1);
}
.contact-note {
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
}
.contact-note.is-ok { background: var(--color-secondary-soft); color: var(--color-secondary-ink); }
.contact-note.is-err { background: #fdecea; color: #b3261e; }

.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label > span {
	font-size: 12px; font-weight: 700; color: var(--color-heading);
}
.contact-form input,
.contact-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 14px;
	color: var(--color-text);
	background: var(--color-bg-alt);
	border: 1.5px solid var(--color-border);
	border-radius: 10px;
	padding: 11px 14px;
	transition: border-color .15s ease, background .15s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--color-text-subtle); }
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-bg);
	box-shadow: 0 0 0 4px rgba(0, 160, 232, .12);
}
.contact-form textarea { resize: vertical; min-height: 96px; }

.contact-send {
	margin-top: 4px;
	width: 100%;
	background: var(--color-primary-dark);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .02em;
	padding: 13px 20px;
	border-radius: 10px;
	transition: background .15s ease;
}
.contact-send:hover { background: var(--color-primary-darker); }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; gap: 28px; }
	.contact-info .contact-title { max-width: none; }
}
@media (max-width: 520px) {
	.contact-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Blog / Tin tức
   ========================================================= */
.blog-section .blog-title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.blog-section .blog-subtitle { color: var(--color-text-muted); margin-top: 8px; font-size: 14px; }

.blog-grid { display: grid; grid-template-columns: repeat(var(--grid-cols, 3), minmax(0, 1fr)); gap: 24px; }

.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 32px rgba(15, 26, 43, .12); }

.blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-bg-alt2);
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__ph {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	font-size: 40px; color: var(--color-border-strong);
}

.blog-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.blog-card__date { font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .03em; }
.blog-card__date i { margin-right: 4px; }
.blog-card__title {
	font-family: var(--font-heading);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__title a { color: var(--color-heading); }
.blog-card:hover .blog-card__title a { color: var(--color-primary-ink); }
.blog-card__excerpt {
	font-size: 13px;
	line-height: 1.6;
	color: var(--color-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__more {
	margin-top: auto;
	font-family: var(--font-heading);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--color-primary-ink);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.blog-card__more i { transition: transform .15s ease; }
.blog-card:hover .blog-card__more i { transform: translateX(3px); }

@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Newsletter CTA
   ========================================================= */
.newsletter-cta { background: var(--color-bg-alt); padding: 40px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.newsletter-text h3 { font-size: 22px; }
.newsletter-text h3 span { color: var(--color-primary); }
.newsletter-text p { color: var(--color-text-muted); margin-top: 6px; }
.newsletter-form { display: flex; max-width: 420px; width: 100%; }
.newsletter-form input { flex: 1; border: 1px solid var(--color-border); border-right: none; padding: 12px 16px; font-size: 13px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { background: var(--color-primary); color: #fff; padding: 0 26px; font-weight: 600; }
.newsletter-form button:hover { background: var(--color-primary-dark); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-dark); color: #b9bcc2; padding-top: 46px; }
.footer-main { display: flex; flex-wrap: wrap; gap: 36px 40px; padding-bottom: 36px; }
.footer-about { flex: 1 1 260px; max-width: 340px; }
.footer-main .footer-col:not(.footer-about) { flex: 1 1 150px; min-width: 140px; }
.site-footer .site-logo { color: #fff; }
.footer-tagline { margin: 10px 0 16px; font-size: 12px; color: #7d818b; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.footer-contact i { color: var(--color-primary); margin-top: 3px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { font-size: 13px; color: #b9bcc2; }
.footer-menu a:hover { color: var(--color-primary); }
.footer-apps { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #34373f; border-radius: 2px; padding: 8px 14px; font-size: 12px; color: #fff; width: fit-content; }
.app-badge:hover { border-color: var(--color-primary); color: var(--color-primary); }

.footer-bottom { border-top: 1px solid #2a2d34; padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.footer-bottom-social { display: flex; gap: 12px; }
.footer-bottom-social a { color: #b9bcc2; }
.footer-bottom-social a:hover { color: var(--color-primary); }
.footer-payments { display: flex; gap: 14px; font-size: 22px; color: #b9bcc2; }

@media (max-width: 700px) {
	.footer-about { flex-basis: 100%; max-width: none; }
	.footer-main .footer-col:not(.footer-about) { flex-basis: 42%; }
}

/* =========================================================
   Nút Zalo nổi (fixed, luôn hiển thị khi scroll)
   ========================================================= */
.zalo-float {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 6px 20px rgba(0, 160, 232, .45);
	transition: transform .15s ease, background .15s ease;
}
.zalo-float:hover { background: var(--color-primary-dark); color: #fff; transform: scale(1.06); }
.zalo-float i { font-size: 20px; }
.zalo-float-label { font-size: 10px; font-weight: 700; margin-top: 2px; }
.zalo-float-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--color-primary);
	z-index: -1;
	animation: zalo-float-pulse 2s ease-out infinite;
}
@keyframes zalo-float-pulse {
	0%   { transform: scale(1);   opacity: .6; }
	70%  { transform: scale(1.8); opacity: 0; }
	100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.zalo-float-ring { animation: none; }
}
@media (max-width: 600px) {
	.zalo-float { left: 12px; bottom: 12px; width: 48px; height: 48px; }
	.zalo-float i { font-size: 18px; }
	.zalo-float-label { display: none; }
	.zalo-float-ring { animation-duration: 2.6s; }
}

/* =========================================================
   Sản phẩm Ishan (product + product details)
   ========================================================= */

/* ---- Product card ---- */
.ishan-pcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ishan-pcard:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 14px 32px rgba(15, 24, 38, .12);
}

.ishan-pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, var(--ink-50), var(--ink-100));
	overflow: hidden;
}
.ishan-pcard__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
	mix-blend-mode: multiply;
	transition: transform .35s ease;
}
.ishan-pcard:hover .ishan-pcard__media img { transform: scale(1.06); }
.ishan-pcard__ph {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 44px; color: var(--color-border-strong);
}
.ishan-pcard__code {
	position: absolute;
	left: 10px;
	bottom: 10px;
	background: rgba(15, 26, 43, .86);
	color: rgba(255, 255, 255, .82);
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 4px 10px;
	border-radius: 6px;
	backdrop-filter: blur(2px);
}
.ishan-pcard__code b { color: #fff; font-weight: 700; margin-left: 2px; }

.ishan-pcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 16px 16px;
}

/* Eyebrow: nhóm cha */
.ishan-pcard__eyebrow {
	display: block;
	font-family: var(--font-heading);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: 7px;
}
.ishan-pcard__eyebrow:hover { color: var(--color-primary-ink); }

/* Tiêu đề */
.ishan-pcard__title {
	font-family: var(--font-heading);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.34;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.34em * 2);
}
.ishan-pcard__title a { color: var(--color-heading); }
.ishan-pcard:hover .ishan-pcard__title a { color: var(--color-primary-ink); }

.ishan-pcard__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Hàng: tag dòng sản phẩm + SKU */
.ishan-pcard__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--color-border);
}
.ishan-pcard__tag {
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--color-primary-darker);
	background: var(--color-primary-soft);
	padding: 5px 9px;
	border-radius: 5px;
}
.ishan-pcard__tag:hover { background: var(--color-primary); color: #fff; }

.ishan-pcard__actions { display: flex; gap: 8px; }
.ishan-pcard__btn {
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 8px;
	border-radius: 8px;
	font-family: var(--font-heading);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ishan-pcard__btn span { overflow: hidden; text-overflow: ellipsis; }
.ishan-pcard__btn i { font-size: 11px; }

/* Primary: Liên hệ ngay */
.ishan-pcard__btn--primary {
	background: var(--color-primary-dark);
	border: 1.5px solid var(--color-primary-dark);
	color: #fff;
}
.ishan-pcard__btn--primary:hover { background: var(--color-primary-darker); border-color: var(--color-primary-darker); }

/* Secondary: Xem chi tiết - dùng màu secondary (xanh lá) */
.ishan-pcard__btn--ghost {
	background: transparent;
	border: 1.5px solid var(--color-secondary);
	color: var(--color-secondary-ink);
}
.ishan-pcard__btn--ghost:hover,
.ishan-pcard:hover .ishan-pcard__btn--ghost {
	background: var(--color-secondary-soft);
	border-color: var(--color-secondary);
	color: var(--color-secondary-ink);
}
.ishan-pcard__btn--ghost:hover { background: var(--color-secondary-dark); border-color: var(--color-secondary-dark); color: #fff; }

@media (max-width: 480px) {
	.ishan-pcard__actions { flex-direction: column; }
}

/* Breadcrumb */
.ishan-breadcrumb { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); font-size: 13px; }
.ishan-breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.ishan-breadcrumb a { color: var(--color-text-muted); }
.ishan-breadcrumb a:hover { color: var(--color-primary-ink); }
.ishan-breadcrumb i { font-size: 10px; color: var(--color-text-muted); }
.ishan-breadcrumb span { color: var(--color-text); font-weight: 600; }

/* Archive */
.ishan-archive-inner { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.ishan-filter h3 { font-size: 14px; padding: 14px 16px; border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); }
.ishan-filter h3 ~ h3 { border-top: 1px solid var(--color-border); }
.ishan-filter ul { border-bottom: 1px solid var(--color-border); }
.ishan-filter li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 16px; font-size: 13px; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.ishan-filter li:last-child a { border-bottom: none; }
.ishan-filter li a i:first-child { color: var(--color-primary); width: 16px; }
.ishan-filter li a:hover { background: var(--color-bg-alt); color: var(--color-primary-ink); }
.ishan-filter li.is-active > a { color: var(--color-primary-ink); font-weight: 700; }
.ishan-filter .ishan-count { font-style: normal; font-size: 11px; color: var(--color-text-muted); background: var(--color-bg-alt); border-radius: 10px; padding: 1px 8px; }
.ishan-archive-count { font-size: 13px; color: var(--color-text-muted); }
.ishan-archive-desc { color: var(--color-text-muted); margin-bottom: 18px; }
.ishan-empty { padding: 40px 0; color: var(--color-text-muted); }
.ishan-pagination { margin-top: 28px; }
.ishan-pagination .page-numbers { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--color-border); border-radius: var(--radius); margin-right: 6px; font-size: 13px; }
.ishan-pagination .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.ishan-pagination a.page-numbers:hover { border-color: var(--color-primary); color: var(--color-primary-ink); }

/* Single */
.ishan-single { padding: 36px 0 50px; }
.ishan-single-top { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start; }
.ishan-gallery-main { border: 1px solid var(--color-border); border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.ishan-gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ishan-gallery-empty { font-size: 72px; color: var(--color-border); }
.ishan-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ishan-gallery-thumb { width: 72px; height: 72px; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: pointer; padding: 0; }
.ishan-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ishan-gallery-thumb.is-active { border-color: var(--color-primary); }

.ishan-single-series { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary-darker); background: var(--color-primary-soft); padding: 4px 9px; border-radius: 5px; margin-bottom: 10px; }
.ishan-single-title { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.ishan-single-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; font-size: 14px; }
.ishan-single-meta span { color: var(--color-text-muted); display: inline-block; min-width: 90px; font-weight: 500; }
.ishan-single-features { border-top: 1px solid var(--color-border); padding-top: 18px; margin-bottom: 22px; }
.ishan-single-features h2 { font-size: 16px; margin-bottom: 12px; }
.ishan-single-features li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 14px; line-height: 1.55; }
.ishan-single-features li i { color: var(--color-secondary); margin-top: 4px; }
.ishan-single-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.ishan-single-desc, .ishan-single-specs, .ishan-related { margin-top: 36px; }
.ishan-single-desc h2, .ishan-single-specs h2 { font-size: 18px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--color-primary); display: inline-block; }
.ishan-spec-scroll { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); }
.ishan-single-specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ishan-single-specs th,
.ishan-single-specs td {
	border-bottom: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	padding: 11px 16px; text-align: left; vertical-align: top; line-height: 1.5;
}
.ishan-single-specs tr > *:last-child { border-right: none; }
.ishan-single-specs tbody tr:last-child > * { border-bottom: none; }
.ishan-single-specs tbody th { background: var(--color-bg-alt); font-weight: 600; color: var(--color-heading); }
.ishan-single-specs tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--color-bg-alt) 45%, #fff); }

/* Bảng ma trận: có hàng tiêu đề cột */
.ishan-single-specs thead th {
	background: var(--color-dark); color: #fff; font-weight: 600;
	font-size: 12.5px; letter-spacing: .01em; white-space: nowrap;
	border-right-color: rgba(255,255,255,.14);
}
.ishan-single-specs.is-matrix tbody th { white-space: nowrap; }
.ishan-single-specs.is-matrix td { white-space: nowrap; }

/* Bảng 2 cột: cột nhãn rộng cố định */
.ishan-single-specs.is-2col tbody th { width: 42%; }

.ishan-single-specs .ishan-spec-group th {
	width: auto; background: var(--color-primary-soft); color: var(--color-primary-darker);
	font-weight: 700; font-size: 13px; white-space: normal;
}
.ishan-single-source { margin-top: 20px; font-size: 12px; color: var(--color-text-muted); word-break: break-all; }

@media (max-width: 992px) {
	.ishan-archive-inner { grid-template-columns: 1fr; }
	.ishan-single-top { grid-template-columns: 1fr; gap: 24px; }
	.ishan-single-specs.is-2col tbody th { width: 38%; }
}
/* Sản phẩm Ishan - trang chủ */
.ishan-view-all { font-size: 13px; font-weight: 700; color: var(--color-primary-ink); white-space: nowrap; }
.ishan-view-all:hover { text-decoration: underline; }
.category-sidebar .ishan-count { font-style: normal; font-size: 11px; color: var(--color-text-muted); background: var(--color-bg-alt); border-radius: 10px; padding: 1px 8px; }
/* Danh mục sản phẩm - dải panel mở rộng, full width */
.cat-showcase { padding-bottom: 0; }
.cat-panels {
	display: flex;
	gap: 8px;
	height: clamp(300px, 40vw, 440px);
	padding: 0 clamp(12px, 3vw, 28px) 10px;
	overflow: hidden;
}
.cat-panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	border-radius: 14px;
	overflow: hidden;
	background: var(--panel-bg, var(--color-primary));
	color: var(--panel-fg, #fff);
	transition: flex-grow .45s cubic-bezier(.4, 0, .2, 1);
}
.cat-panel.is-open { flex-grow: 7; }

.cat-panel__icon {
	position: absolute; top: 16px; left: 0; right: 0;
	text-align: center; font-size: 22px;
	transition: left .3s ease, text-align .3s ease;
}
.cat-panel.is-open .cat-panel__icon { text-align: left; left: clamp(20px, 3vw, 34px); right: auto; }

.cat-panel__label {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity .2s ease;
}
.cat-panel.is-open .cat-panel__label { opacity: 0; pointer-events: none; }

.cat-panel__open {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: clamp(20px, 3vw, 34px);
	display: flex; flex-direction: column; gap: 10px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .3s ease .08s, transform .3s ease .08s;
}
.cat-panel.is-open .cat-panel__open { opacity: 1; transform: none; }
.cat-panel__title {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: clamp(26px, 4.4vw, 52px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-wrap: balance;
}
.cat-panel__meta { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; opacity: .92; }

@media (max-width: 900px) {
	.cat-panels {
		height: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.cat-panels::-webkit-scrollbar { display: none; }
	.cat-panel, .cat-panel.is-open { flex: 0 0 82%; scroll-snap-align: center; height: 240px; }
	.cat-panel__label { display: none; }
	.cat-panel__icon { text-align: left; left: 22px; right: auto; }
	.cat-panel__open { position: static; opacity: 1; transform: none; height: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
	.cat-panel, .cat-panel__open, .cat-panel__label, .cat-panel__icon { transition: none; }
}

/* Sidebar lọc: nhóm cha / dòng con */
.ishan-filter-parent > a span { font-weight: 700; }
.ishan-filter-child > a { padding-left: 30px; }
.ishan-filter-child > a span i:first-child { font-size: 9px; }

/* =========================================================
   Trang Liên hệ (page-contact.php)
   ========================================================= */
.cpage-hero {
	position: relative;
	background: var(--color-dark);
	color: #fff;
	text-align: center;
	padding: clamp(64px, 12vw, 120px) 0 clamp(96px, 14vw, 150px);
	overflow: hidden;
}
.cpage-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center;
}
.cpage-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15, 26, 43, .74), rgba(15, 26, 43, .9));
}
.cpage-hero .container { position: relative; z-index: 1; }
.cpage-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cpage-hero p { color: rgba(255,255,255,.82); max-width: 40ch; margin: 0 auto; font-size: 15px; line-height: 1.6; }

.cpage-body { position: relative; padding-bottom: clamp(40px, 8vw, 80px); }
.cpage-card {
	position: relative;
	margin-top: -90px;
	background: var(--color-bg);
	border-radius: 20px;
	box-shadow: 0 30px 70px rgba(15, 26, 43, .14);
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	overflow: hidden;
}

.cpage-touch { background: var(--color-bg-alt); padding: clamp(28px, 4vw, 48px); }
.cpage-touch h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.cpage-touch__lead { color: var(--color-text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 26px; }

.cpage-points { display: flex; flex-direction: column; gap: 20px; }
.cpage-points li { display: flex; gap: 16px; align-items: flex-start; }
.cpage-points__ic {
	flex-shrink: 0;
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-primary);
	color: #fff;
	border-radius: 12px;
	font-size: 16px;
}
.cpage-points li div { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; color: var(--color-text-muted); line-height: 1.55; }
.cpage-points li strong { color: var(--color-heading); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cpage-points li a { color: var(--color-text-muted); }
.cpage-points li a:hover { color: var(--color-primary-ink); }

.cpage-social { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.cpage-social > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--color-heading); }
.cpage-social > div { display: flex; gap: 10px; }
.cpage-social a {
	width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: #fff; font-size: 14px;
	transition: background .15s ease;
}
.cpage-social a:hover { background: var(--color-primary-dark); }

.cpage-form { padding: clamp(28px, 4vw, 48px); }
.cpage-form h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.cpage-form form { display: flex; flex-direction: column; gap: 16px; }
.cpage-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpage-form label { display: flex; flex-direction: column; gap: 6px; }
.cpage-form label > span { font-size: 12px; font-weight: 700; color: var(--color-heading); }
.cpage-form input, .cpage-form textarea {
	width: 100%; font-family: inherit; font-size: 14px; color: var(--color-text);
	background: var(--color-bg-alt); border: 1.5px solid var(--color-border);
	border-radius: 999px; padding: 12px 18px;
	transition: border-color .15s ease, background .15s ease;
}
.cpage-form textarea { border-radius: 16px; resize: vertical; min-height: 110px; }
.cpage-form input::placeholder, .cpage-form textarea::placeholder { color: var(--color-text-subtle); }
.cpage-form input:focus, .cpage-form textarea:focus {
	outline: none; border-color: var(--color-primary); background: var(--color-bg);
	box-shadow: 0 0 0 4px rgba(0,160,232,.12);
}
.cpage-send {
	margin-top: 4px; width: 100%;
	background: var(--color-primary-dark); color: #fff;
	font-family: var(--font-heading); font-weight: 700; font-size: 14px;
	padding: 14px 20px; border-radius: 999px;
	transition: background .15s ease;
}
.cpage-send:hover { background: var(--color-primary-darker); }

.cpage-content { margin-top: 40px; font-size: 15px; line-height: 1.8; }

.cpage-map { line-height: 0; }
.cpage-map iframe { width: 100%; height: clamp(320px, 40vw, 460px); border: 0; display: block; }
#cpage-leaflet { width: 100%; height: clamp(320px, 40vw, 460px); }
.cpage-map__link {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	height: 200px; background: var(--color-bg-alt);
	font-weight: 700; color: var(--color-primary-ink);
	text-decoration: none;
}
.cpage-map iframe + .cpage-map__link,
.cpage-map #cpage-leaflet + .cpage-map__link {
	height: auto; padding: 12px 16px; line-height: 1.4;
	border-top: 1px solid var(--color-border);
}

@media (max-width: 860px) {
	.cpage-card { grid-template-columns: 1fr; margin-top: -60px; }
}
@media (max-width: 520px) {
	.cpage-form__row { grid-template-columns: 1fr; }
}
