/**
 * Smart A – Giao diện đồng bộ (header, footer, trang, WooCommerce)
 * Bảng màu: Navy #0A2A72 · Xanh #1667D6 · Vàng #FFD400
 * Font: Be Vietnam Pro · Icon: Material Symbols Rounded
 */

:root {
	--sa-navy: #0A2A72;
	--sa-navy-2: #12459E;
	--sa-navy-deep: #08205C;
	--sa-blue: #1667D6;
	--sa-blue-2: #2E8BF0;
	--sa-yellow: #FFD400;
	--sa-ink: #14233f;
	--sa-text: #5a6b85;
	--sa-muted: #7a8aa5;
	--sa-line: #e6eef9;
	--sa-soft: #F2F7FF;
	--sa-soft-2: #F7FAFF;
	--sa-container: 1280px;
}

/* ===== Base ===== */
body.smarta,
.smarta {
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--sa-ink);
	background: #ffffff;
}
.smarta *,
.smarta *::before,
.smarta *::after { box-sizing: border-box; }

.smarta a { color: var(--sa-blue); }

.msr {
	font-family: 'Material Symbols Rounded';
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	vertical-align: middle;
}

.sa-container {
	max-width: var(--sa-container);
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* Ẩn các phần tử mặc định của _s không dùng */
.smarta .skip-link { position: absolute; left: -9999px; }

/* ===== HEADER ===== */
.sa-header {
	font-family: 'Be Vietnam Pro', sans-serif;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 60;
}

.sa-topbar { background: var(--sa-navy); color: #cfe0ff; font-size: 13px; }
.sa-topbar__inner {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.sa-topbar__note { display: flex; align-items: center; gap: 8px; letter-spacing: .2px; }
.sa-topbar__note .msr { font-size: 16px; color: var(--sa-yellow); }
.sa-topbar__right { display: flex; align-items: center; gap: 22px; }
.sa-topbar__hotline {
	display: flex; align-items: center; gap: 6px;
	color: #cfe0ff; text-decoration: none; font-weight: 500;
}
.sa-topbar__hotline:hover { color: #fff; }
.sa-topbar__hotline .msr { font-size: 16px; color: var(--sa-yellow); }
.sa-topbar__lang {
	display: flex; align-items: center; gap: 6px;
	color: #cfe0ff; font-size: 13px; font-weight: 600;
}
.sa-topbar__lang .msr { font-size: 16px; }

.sa-header__main {
	background: #fff;
	border-bottom: 1px solid #e8eef8;
	box-shadow: 0 6px 24px rgba(10, 42, 114, .06);
}
.sa-header__inner {
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.sa-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.sa-logo img { height: 58px; width: auto; display: block; }
.sa-logo .custom-logo { height: 58px; width: auto; }
.sa-logo__text { font-size: 24px; font-weight: 900; color: var(--sa-navy); letter-spacing: -.5px; }

/* Nav (wp_nav_menu) */
.sa-nav { display: flex; align-items: center; }
.sa-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.sa-menu li { position: relative; }
.sa-menu a {
	position: relative;
	display: block;
	padding: 10px 12px;
	color: #2a3a5a;
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
}
.sa-menu a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 2px;
	height: 3px;
	border-radius: 3px;
	background: var(--sa-yellow);
	opacity: 0;
	transition: opacity .18s ease;
}
.sa-menu a:hover { color: var(--sa-blue); }
.sa-menu .current-menu-item > a,
.sa-menu .current-menu-parent > a,
.sa-menu .current-menu-ancestor > a,
.sa-menu .current_page_item > a {
	color: var(--sa-blue);
	font-weight: 800;
}
.sa-menu .current-menu-item > a::after,
.sa-menu .current-menu-parent > a::after,
.sa-menu .current-menu-ancestor > a::after,
.sa-menu .current_page_item > a::after { opacity: 1; }

/* Submenu */
.sa-menu ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(10, 42, 114, .18);
	display: none;
	z-index: 40;
}
.sa-menu li:hover > ul.sub-menu { display: block; }
.sa-menu ul.sub-menu a { padding: 9px 12px; border-radius: 8px; }
.sa-menu ul.sub-menu a::after { display: none; }
.sa-menu ul.sub-menu a:hover { background: var(--sa-soft); }

.sa-cta {
	flex-shrink: 0;
	display: flex; align-items: center; gap: 8px;
	background: var(--sa-yellow);
	color: var(--sa-navy);
	text-decoration: none;
	font-weight: 800;
	font-size: 14.5px;
	padding: 12px 20px;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(255, 212, 0, .35);
	transition: transform .15s ease, background .15s ease;
}
.sa-cta:hover { background: #ffdf33; transform: translateY(-1px); color: var(--sa-navy); }
.sa-cta .msr { font-size: 19px; }

.sa-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--sa-soft);
	border: 1px solid var(--sa-line);
	color: var(--sa-navy);
	border-radius: 12px;
	width: 46px; height: 46px;
	cursor: pointer;
}
.sa-menu-toggle .msr { font-size: 26px; }

/* ===== FOOTER ===== */
.sa-footer {
	font-family: 'Be Vietnam Pro', sans-serif;
	background: var(--sa-navy-deep);
	color: #c3d3f0;
	position: relative;
	overflow: hidden;
}
.sa-footer__glow-1 {
	position: absolute; top: -120px; right: -80px; width: 340px; height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(46, 139, 240, .25), transparent 70%);
	pointer-events: none;
}
.sa-footer__glow-2 {
	position: absolute; bottom: -140px; left: -100px; width: 360px; height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 212, 0, .10), transparent 70%);
	pointer-events: none;
}
.sa-footer__inner { padding: 64px 32px 40px; position: relative; }
.sa-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
	gap: 48px;
}

.sa-footer__logo-box {
	background: #fff; border-radius: 16px; padding: 14px 18px;
	display: inline-flex; align-items: center; margin-bottom: 20px;
}
.sa-footer__logo-box img { height: 56px; width: auto; display: block; }
.sa-footer__about { font-size: 14px; line-height: 1.7; color: #a9bfe6; margin: 0 0 20px; max-width: 340px; }
.sa-footer__social { display: flex; gap: 10px; margin-bottom: 22px; }
.sa-footer__social a {
	width: 40px; height: 40px; border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	display: flex; align-items: center; justify-content: center;
	color: #dbe6fb; text-decoration: none;
	transition: background .15s ease;
}
.sa-footer__social a:hover { background: var(--sa-blue); }
.sa-footer__social .msr { font-size: 20px; }
.sa-footer__badge {
	display: inline-flex; align-items: center; gap: 10px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px; padding: 10px 14px; text-decoration: none;
}
.sa-footer__badge .msr { font-size: 26px; color: #e02b2b; }
.sa-footer__badge small { font-size: 11px; color: #9fb6e0; text-transform: uppercase; letter-spacing: .4px; display: block; }
.sa-footer__badge strong { font-size: 14px; color: #fff; font-weight: 700; display: block; }

.sa-footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin: 0 0 20px; letter-spacing: .3px; }
.sa-footer__links { display: flex; flex-direction: column; gap: 13px; }
.sa-footer__links a { color: #b7cbee; text-decoration: none; font-size: 14px; }
.sa-footer__links a:hover { color: var(--sa-yellow); }
.sa-footer__contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.sa-footer__contact-row { display: flex; gap: 11px; align-items: flex-start; }
.sa-footer__contact-row .msr { font-size: 19px; color: var(--sa-yellow); margin-top: 1px; }
.sa-footer__contact-row span:last-child { font-size: 14px; line-height: 1.55; color: #cfddf6; }
.sa-footer__map {
	border-radius: 14px; overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .12); height: 150px;
	background: repeating-linear-gradient(45deg, #0d2f7a, #0d2f7a 14px, #123a90 14px, #123a90 28px);
	display: flex; align-items: center; justify-content: center; text-align: center;
}
.sa-footer__map .msr { font-size: 34px; color: var(--sa-yellow); }
.sa-footer__map div { font-size: 12px; color: #a9bfe6; margin-top: 6px; }

.sa-footer__bottom {
	margin-top: 44px; padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; flex-wrap: wrap;
}
.sa-footer__bottom p { margin: 0; font-size: 13px; color: #93aad6; }
.sa-footer__bottom-links { display: flex; align-items: center; gap: 22px; }
.sa-footer__bottom-links a { color: #93aad6; text-decoration: none; font-size: 13px; }
.sa-footer__bottom-links a:hover { color: #fff; }

/* ===== Nội dung trang chung ===== */
.smarta .sa-page { padding: 0; }
.sa-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, #0A2A72 0%, #12459E 55%, #1F6FD6 100%);
}
.sa-hero__glow {
	position: absolute; top: -120px; right: -90px; width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(46, 139, 240, .5), transparent 68%);
}
.sa-hero__inner { padding: 52px 32px 58px; position: relative; }
.sa-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #bcd0f2; margin-bottom: 18px; flex-wrap: wrap; }
.sa-breadcrumb a { color: #bcd0f2; text-decoration: none; }
.sa-breadcrumb a:hover { color: #fff; }
.sa-breadcrumb .msr { font-size: 16px; }
.sa-breadcrumb .current { color: var(--sa-yellow); font-weight: 600; }
.sa-hero h1 { margin: 0 0 12px; font-size: 44px; font-weight: 900; color: #fff; letter-spacing: -.5px; }
.sa-hero p { margin: 0; font-size: 17px; line-height: 1.6; color: #d3e2fb; max-width: 620px; }

.sa-section { max-width: var(--sa-container); margin: 0 auto; padding: 72px 32px; }
.sa-section--soft { background: var(--sa-soft); max-width: none; }
.sa-section--soft > .sa-container { padding-top: 72px; padding-bottom: 72px; }
.sa-eyebrow { font-size: 14px; font-weight: 800; color: var(--sa-blue); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px; }
.sa-h2 { margin: 0; font-size: 36px; font-weight: 900; color: var(--sa-navy); letter-spacing: -.4px; }
.sa-lead { font-size: 16px; line-height: 1.65; color: var(--sa-text); }

/* Lưới thẻ tiện ích */
.sa-grid { display: grid; gap: 24px; }
.sa-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sa-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sa-grid--4 { grid-template-columns: repeat(4, 1fr); }
.sa-card {
	background: #fff; border: 1px solid var(--sa-line); border-radius: 20px;
	padding: 30px 26px; box-shadow: 0 10px 30px rgba(10, 42, 114, .05);
}
.sa-card h3 { margin: 0 0 10px; font-size: 18.5px; font-weight: 800; color: var(--sa-navy); }
.sa-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sa-text); }
.sa-icon-badge {
	width: 58px; height: 58px; border-radius: 16px;
	background: linear-gradient(135deg, var(--sa-blue), var(--sa-blue-2));
	display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.sa-icon-badge .msr { font-size: 30px; color: #fff; }

.sa-btn {
	display: inline-flex; align-items: center; gap: 9px;
	text-decoration: none; font-weight: 800; font-size: 15.5px;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	font-family: inherit;
}
.sa-btn--yellow { background: var(--sa-yellow); color: var(--sa-navy); box-shadow: 0 10px 24px rgba(255, 212, 0, .3); }
.sa-btn--navy { background: var(--sa-navy); color: #fff; }
.sa-btn--navy:hover { background: var(--sa-blue); color: #fff; }
.sa-figure {
	border-radius: 20px; overflow: hidden; border: 1px solid var(--sa-line);
	box-shadow: 0 14px 40px rgba(10, 42, 114, .07);
}
.sa-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== WooCommerce theming nhẹ ===== */
.woocommerce .smarta,
.smarta.woocommerce { }
.smarta .woocommerce-breadcrumb { color: var(--sa-muted); }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--sa-blue) !important; font-weight: 800; }
.woocommerce span.onsale {
	background: #E23B3B; color: #fff; border-radius: 999px; font-weight: 800; min-height: auto; min-width: auto; padding: 5px 12px; line-height: 1.4;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--sa-navy);
	color: #fff;
	border-radius: 10px;
	font-weight: 700;
	padding: 12px 20px;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--sa-blue); }
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--sa-navy); font-weight: 800; font-size: 16px;
}
.woocommerce .star-rating span { color: #FFC400; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--sa-blue); }

/* ===== Tin tức: danh sách (archive/home) ===== */
.sa-news { font-family: 'Be Vietnam Pro', sans-serif; color: var(--sa-ink); background: #fff; }
.sa-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.sa-post-card {
	background: #fff; border: 1px solid var(--sa-line); border-radius: 20px; overflow: hidden;
	box-shadow: 0 10px 30px rgba(10, 42, 114, .05); display: flex; flex-direction: column;
	text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}
.sa-post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 42, 114, .1); }
.sa-post-card__thumb { height: 200px; overflow: hidden; background: #e7eefb; display: block; position: relative; }
.sa-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-post-card__thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #e7eefb, #e7eefb 12px, #dce7f9 12px, #dce7f9 24px); }
.sa-post-card__thumb-empty .msr { font-size: 34px; color: #9db4d8; }
.sa-post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sa-badge { display: inline-block; align-self: flex-start; background: #EAF1FF; color: var(--sa-blue); font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; margin-bottom: 13px; text-decoration: none; }
.sa-post-card__title { margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--sa-navy); line-height: 1.4; }
.sa-post-card__excerpt { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: #6a7b95; flex: 1; }
.sa-post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sa-post-card__date { font-size: 12.5px; color: var(--sa-muted); display: inline-flex; align-items: center; gap: 6px; }
.sa-post-card__date .msr { font-size: 16px; color: var(--sa-blue); }
.sa-post-card__more { color: var(--sa-blue); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; }
.sa-post-card__more .msr { font-size: 18px; }

.sa-pagination { margin-top: 48px; }
.sa-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.sa-pagination .page-numbers {
	min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 12px;
	border-radius: 11px; border: 1px solid #e0e8f4; color: var(--sa-navy); font-weight: 700; text-decoration: none; background: #fff;
}
.sa-pagination a.page-numbers:hover { background: var(--sa-soft); }
.sa-pagination .page-numbers.current { background: var(--sa-navy); color: #fff; border-color: var(--sa-navy); }
.sa-pagination .page-numbers.dots { border: 0; background: transparent; }

.sa-news-empty { text-align: center; padding: 60px 20px; color: var(--sa-text); }
.sa-news-empty .msr { font-size: 54px; color: #b9d0f2; }

/* ===== Tin tức: chi tiết bài (single) ===== */
.sa-single { font-family: 'Be Vietnam Pro', sans-serif; color: var(--sa-ink); background: #fff; }
.sa-post-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: #d3e2fb; }
.sa-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sa-post-meta .msr { font-size: 17px; color: var(--sa-yellow); }
.sa-hero .sa-post-meta { margin-top: 8px; }

.sa-article { max-width: 820px; margin: 0 auto; }
.sa-article__thumb { border-radius: 22px; overflow: hidden; margin: 0 0 34px; box-shadow: 0 18px 44px rgba(10, 42, 114, .12); }
.sa-article__thumb img { width: 100%; height: auto; display: block; }
.sa-article .entry-content { font-size: 16.5px; line-height: 1.85; color: #33425c; }
.sa-article .entry-content > *:first-child { margin-top: 0; }
.sa-article .entry-content h2 { font-size: 24px; font-weight: 800; color: var(--sa-navy); margin: 38px 0 14px; letter-spacing: -.2px; }
.sa-article .entry-content h3 { font-size: 19.5px; font-weight: 800; color: var(--sa-navy); margin: 30px 0 12px; }
.sa-article .entry-content h4 { font-size: 17px; font-weight: 700; color: var(--sa-navy); margin: 24px 0 10px; }
.sa-article .entry-content p { margin: 0 0 18px; }
.sa-article .entry-content ul, .sa-article .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.sa-article .entry-content li { margin-bottom: 9px; }
.sa-article .entry-content a { color: var(--sa-blue); text-decoration: underline; }
.sa-article .entry-content img { max-width: 100%; height: auto; border-radius: 14px; }
.sa-article .entry-content blockquote { border-left: 4px solid var(--sa-yellow); background: var(--sa-soft); margin: 0 0 20px; padding: 16px 22px; border-radius: 0 12px 12px 0; color: #3f5170; }
.sa-article .entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.sa-article .entry-content th, .sa-article .entry-content td { border: 1px solid var(--sa-line); padding: 12px 16px; text-align: left; vertical-align: top; }
.sa-article .entry-content th { background: #F2F7FF; color: var(--sa-navy); font-weight: 700; }
.sa-article__tags { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--sa-line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sa-article__tags .tag-link { background: var(--sa-soft); color: var(--sa-blue); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; text-decoration: none; }
.sa-article__tags .tag-link:hover { background: #E9F1FF; }
.sa-article__share { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sa-article__share a { width: 38px; height: 38px; border-radius: 10px; background: var(--sa-soft); color: var(--sa-navy); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sa-article__share a:hover { background: var(--sa-blue); color: #fff; }

.sa-post-nav { max-width: 820px; margin: 40px auto 0; display: flex; justify-content: space-between; gap: 16px; }
.sa-post-nav a { flex: 1; background: #fff; border: 1px solid var(--sa-line); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--sa-navy); box-shadow: 0 6px 18px rgba(10, 42, 114, .04); }
.sa-post-nav a:hover { border-color: #bcd6f7; }
.sa-post-nav small { display: block; font-size: 12px; color: var(--sa-muted); margin-bottom: 4px; }
.sa-post-nav strong { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.sa-post-nav .next { text-align: right; }

/* ===== Hội đồng cố vấn (trang chủ) ===== */
.sa-advisors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 860px; margin: 0 auto; }
.sa-advisor { text-align: center; }
.sa-advisor__photo {
	width: 230px; height: 230px; border-radius: 50%; margin: 0 auto 22px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(10, 42, 114, .16); border: 6px solid #fff;
	background: linear-gradient(135deg, #1667D6, #2E8BF0); position: relative;
}
.sa-advisor__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-advisor__initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 62px; font-weight: 900; color: rgba(255, 255, 255, .95); letter-spacing: 1px; }
.sa-advisor__name { font-size: 20px; font-weight: 800; color: var(--sa-navy); margin: 0 0 4px; }
.sa-advisor__role { font-size: 15px; font-style: italic; color: var(--sa-blue); font-weight: 600; margin: 0 0 8px; }
.sa-advisor__org { font-size: 14.5px; color: var(--sa-text); margin: 0; line-height: 1.55; }

/* ===== Slider Chứng nhận & Giải thưởng (trang chủ) ===== */
.sa-cert-slider {
	overflow: hidden; position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.sa-cert-track { display: flex; gap: 24px; width: max-content; animation: sa-marquee 38s linear infinite; }
.sa-cert-slider:hover .sa-cert-track { animation-play-state: paused; }
.sa-cert-item {
	width: 240px; height: 200px; flex-shrink: 0; background: #fff; border: 1px solid var(--sa-line);
	border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 20px;
	box-shadow: 0 8px 24px rgba(10, 42, 114, .05);
}
.sa-cert-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes sa-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .sa-cert-track { animation: none; flex-wrap: wrap; justify-content: center; } }
@media (max-width: 860px) {
	.sa-advisors { grid-template-columns: 1fr; gap: 32px; }
	.sa-advisor__photo { width: 190px; height: 190px; }
}

/* ===== Trang cửa hàng WooCommerce (danh sách sản phẩm) ===== */
.sa-shop { font-family: 'Be Vietnam Pro', sans-serif; color: var(--sa-ink); background: #fff; }
.sa-shop-layout {
	display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start;
	padding-top: 44px; padding-bottom: 90px;
}

/* Sidebar */
.sa-shop-sidebar { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 22px; }
.sa-shop-widget { background: var(--sa-soft-2); border: 1px solid var(--sa-line); border-radius: 18px; padding: 22px; }
.sa-shop-widget h4 { margin: 0 0 16px; font-size: 15px; font-weight: 800; color: var(--sa-navy); display: flex; align-items: center; gap: 8px; }
.sa-shop-widget h4 .msr { font-size: 20px; color: var(--sa-blue); }
.sa-shop-cats { display: flex; flex-direction: column; gap: 4px; }
.sa-shop-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--sa-text); font-size: 14.5px; font-weight: 600; }
.sa-shop-cat:hover { background: #fff; }
.sa-shop-cat.is-active { background: #E9F1FF; color: var(--sa-blue); font-weight: 800; }
.sa-shop-cat__count { font-size: 12.5px; color: #9aa9c2; background: #eef3fb; border-radius: 999px; padding: 2px 9px; }
.sa-shop-cat.is-active .sa-shop-cat__count { background: #fff; color: var(--sa-blue); }
.sa-shop-prices { display: flex; flex-direction: column; gap: 6px; }
.sa-shop-prices a { font-size: 14px; color: var(--sa-text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.sa-shop-prices a:hover { background: #fff; color: var(--sa-blue); }
.sa-shop-price-reset { color: #E23B3B !important; display: flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 4px; }
.sa-shop-price-reset .msr { font-size: 16px; }
.sa-shop-cta { background: linear-gradient(135deg, #0A2A72, #1667D6); border-radius: 18px; padding: 24px; color: #fff; position: relative; overflow: hidden; }
.sa-shop-cta__bg { position: absolute; bottom: -14px; right: -6px; font-size: 90px; color: rgba(255, 255, 255, .1); }
.sa-shop-cta h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; position: relative; }
.sa-shop-cta p { margin: 0 0 16px; font-size: 13.5px; color: #d7e5fb; position: relative; }
.sa-shop-cta a { position: relative; display: inline-flex; align-items: center; gap: 7px; background: var(--sa-yellow); color: var(--sa-navy); text-decoration: none; font-weight: 800; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; }

/* Thanh trên: số lượng + sắp xếp */
.sa-shop-topbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-bottom: 24px; background: var(--sa-soft-2); border: 1px solid var(--sa-line); border-radius: 14px; padding: 12px 20px;
}
.sa-shop-main .woocommerce-result-count { margin: 0; font-size: 14.5px; color: var(--sa-text); }
.sa-shop-main .woocommerce-ordering { margin: 0; }
.sa-shop-main .woocommerce-ordering select {
	border: 1px solid #dde7f5; border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 600;
	color: var(--sa-navy); font-family: inherit; background: #fff; cursor: pointer;
}

/* Lưới sản phẩm (ghi đè float mặc định của WooCommerce) */
.sa-shop-main ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sa-shop-main ul.products::before, .sa-shop-main ul.products::after { display: none !important; content: none !important; }
.sa-shop-main ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important;
	background: #fff; border: 1px solid var(--sa-line); border-radius: 20px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(10, 42, 114, .05); display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.sa-shop-main ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(10, 42, 114, .12); }
.sa-shop-main li.product > a.woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1; padding: 0; text-decoration: none; position: relative; }
.sa-shop-main li.product img { margin: 0 !important; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 0; }
.sa-shop-main li.product .onsale {
	position: absolute; top: 14px; left: 14px; right: auto; z-index: 2; margin: 0;
	background: #E23B3B; color: #fff; border-radius: 999px; font-weight: 800; font-size: 11.5px;
	padding: 5px 12px; min-height: auto; min-width: auto; line-height: 1.4;
}
.sa-shop-main li.product .sa-loop-cat { display: block; padding: 18px 20px 0; font-size: 11.5px; font-weight: 700; color: var(--sa-blue); text-transform: uppercase; letter-spacing: .5px; }
.sa-shop-main li.product .woocommerce-loop-product__title { padding: 6px 20px 0 !important; font-size: 16px !important; font-weight: 800; color: var(--sa-navy); line-height: 1.35; }
.sa-shop-main li.product .star-rating { margin: 10px 20px 0 !important; font-size: 15px; color: #FFC400; }
.sa-shop-main li.product .price { display: block; padding: 8px 20px 0; margin-top: auto; font-size: 19px; font-weight: 900; color: var(--sa-blue) !important; }
.sa-shop-main li.product .price del { color: #a2b0c8; font-weight: 400; font-size: 14px; opacity: 1; }
.sa-shop-main li.product .price ins { text-decoration: none; }
.sa-shop-main li.product .button, .sa-shop-main li.product .added_to_cart {
	margin: 14px 20px 20px; display: block; text-align: center; border-radius: 10px; font-weight: 700; padding: 12px 16px;
}
.sa-shop-main li.product .button { background: var(--sa-navy); color: #fff; }
.sa-shop-main li.product .button:hover { background: var(--sa-blue); }
.sa-shop-main li.product .added_to_cart { background: #EAF1FF; color: var(--sa-blue); }

/* Phân trang WooCommerce */
.sa-shop-main .woocommerce-pagination { margin-top: 44px; text-align: center; }
.sa-shop-main .woocommerce-pagination ul { display: inline-flex; gap: 8px; border: 0 !important; margin: 0; padding: 0; }
.sa-shop-main .woocommerce-pagination ul li { border: 0 !important; margin: 0 !important; overflow: visible; }
.sa-shop-main .woocommerce-pagination ul li a, .sa-shop-main .woocommerce-pagination ul li span {
	min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 12px;
	border-radius: 11px; border: 1px solid #e0e8f4 !important; color: var(--sa-navy); font-weight: 700; background: #fff;
}
.sa-shop-main .woocommerce-pagination ul li span.current { background: var(--sa-navy); color: #fff; border-color: var(--sa-navy) !important; }
.sa-shop-main .woocommerce-pagination ul li a:hover { background: var(--sa-soft); }

@media (max-width: 1024px) {
	.sa-shop-layout { grid-template-columns: 1fr; }
	.sa-shop-sidebar { position: static; }
	.sa-shop-main ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.sa-shop-main ul.products { grid-template-columns: 1fr; }
}

/* ===== Contact Form 7 (trang Liên hệ) ===== */
.sa-cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sa-cf7-field { margin: 0 0 18px; }
.sa-cf7-field label {
	display: block; font-size: 13.5px; font-weight: 700; color: var(--sa-navy); margin-bottom: 8px;
}
.sa-cf7 .sa-req { color: #E23B3B; }
.sa-cf7 input[type="text"],
.sa-cf7 input[type="tel"],
.sa-cf7 input[type="email"],
.sa-cf7 select,
.sa-cf7 textarea {
	width: 100%;
	border: 1px solid #dde7f5;
	border-radius: 12px;
	padding: 0 16px;
	height: 50px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--sa-ink);
	background: #fff;
}
.sa-cf7 textarea { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.sa-cf7 input:focus,
.sa-cf7 select:focus,
.sa-cf7 textarea:focus {
	outline: none;
	border-color: var(--sa-blue);
	box-shadow: 0 0 0 3px rgba(22, 103, 214, .12);
}
.sa-cf7 input::placeholder,
.sa-cf7 textarea::placeholder { color: #9aa9c2; }
.sa-cf7 .sa-cf7-submit { margin: 6px 0 0; }
.sa-cf7 .wpcf7-submit {
	width: 100%;
	display: block;
	background: var(--sa-navy);
	color: #fff;
	border: 0;
	font-family: inherit;
	font-weight: 800;
	font-size: 16px;
	padding: 16px;
	border-radius: 12px;
	cursor: pointer;
	height: auto;
	transition: background .15s ease;
}
.sa-cf7 .wpcf7-submit:hover { background: var(--sa-blue); }
.sa-cf7 .wpcf7-spinner { margin: 0 auto; display: block; }
.sa-cf7 .wpcf7-not-valid-tip { color: #E23B3B; font-size: 12.5px; }
.sa-cf7 .wpcf7-response-output {
	border-radius: 12px; padding: 14px 18px !important; margin: 18px 0 0 !important;
	font-size: 14.5px; border-width: 1px !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.sa-footer__grid { display: block; grid-template-columns: 1fr 1fr; gap: 36px; }
	.sa-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sa-hero h1 { font-size: 36px; }
	.sa-footer__grid>div {
    margin: 20px 0;
}
}
@media (max-width: 860px) {
	.sa-container { padding-left: 20px; padding-right: 20px; }
	.sa-menu-toggle { display: flex; }
	.sa-nav {
		position: absolute; top: 122px; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid #e8eef8;
		box-shadow: 0 20px 40px rgba(10, 42, 114, .12);
		display: none; padding: 12px 20px;
	}
	.sa-nav.is-open { display: block; }
	.sa-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.sa-menu a { padding: 14px 10px; border-radius: 10px; }
	.sa-menu a::after { display: none; }
	.sa-menu .current-menu-item > a { background: var(--sa-soft); }
	.sa-menu ul.sub-menu { position: static; box-shadow: none; padding: 0 0 0 14px; display: block; }
	.sa-cta { padding: 10px 16px; font-size: 13.5px; }
	.sa-topbar__note { font-size: 12px; }
	.sa-grid--3, .sa-grid--4, .sa-grid--2 { grid-template-columns: 1fr; }
	.sa-section, .sa-hero__inner, .sa-footer__inner { padding-left: 20px; padding-right: 20px; }
	.sa-hero h1 { font-size: 30px; }
	.sa-contact-grid { grid-template-columns: 1fr !important; }
	.sa-cf7-grid { grid-template-columns: 1fr; }
	.sa-news__grid { grid-template-columns: 1fr; }
	.sa-post-nav { flex-direction: column; }
	.sa-post-nav .next { text-align: left; }
}
@media (max-width: 1024px) {
	.sa-news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.sa-topbar__note span:last-child { display: none; }
}
