:root {
	--ksc-cream: #faf7ef;
	--ksc-mint: #e3f2ed;
	--ksc-deep: #14665d;
	--ksc-ink: #203332;
	--ksc-accent: #2db2a0;
	--ksc-gold: #b39865;
	--ksc-border: rgba(20, 102, 93, .13)
}

/* Một lớp thiết kế mới, được khoanh vùng để không làm hỏng các section Flatsome cũ. */
[class*="ksc26-"] {
	box-sizing: border-box;
}

.ksc26-section,
.ksc26-catalog,
.ksc26-form-wrap,
.ksc26-detail-meta {
	font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}

.ksc26-page,
.ksc26-section {
	color: var(--ksc-ink);
}

.ksc26-section {
	position: relative;
	overflow: hidden;
}

.ksc26-hero {
	background: radial-gradient(ellipse at 85% 20%, rgba(81, 191, 167, .15), transparent 46%), linear-gradient(128deg, #faf7ef 0%, var(--color-white)efd 53%, #eaf7f1 100%);
	padding-top: 80px !important;
	padding-bottom: 82px !important;
}

.ksc26-mint {
	background: linear-gradient(125deg, #e3f2ed 0%, #f8fbf7 50%, #f4eee4 100%);
}

.ksc26-cream {
	background: linear-gradient(145deg, #faf7ef 0%, var(--color-white) 55%, #e9f6f1 100%);
}

.ksc26-dark {
	background: linear-gradient(115deg, #0e443e, #14665d 48%, #298578) !important;
	color: var(--color-white) !important;
}

.ksc26-dark h2,
.ksc26-dark h3,
.ksc26-dark p {
	color: var(--color-white) !important;
}

.ksc26-eyebrow,
.ksc26-hero .ksc26-eyebrow {
	font-size: 12px !important;
	letter-spacing: 2.8px;
	text-transform: uppercase;
	font-weight: 750;
	color: #228578 !important;
	margin-bottom: 16px !important;
}

.ksc26-section h1,
.ksc26-section h2 {
	color: var(--ksc-ink);
	line-height: 1.17;
	letter-spacing: -1.2px;
	font-weight: 750;
}

.ksc26-section h1 {
	font-size: clamp(32px, 3.5vw, 50px);
	margin-bottom: 20px;
}

.ksc26-section h2 {
	font-size: clamp(29px, 2.7vw, 42px);
	margin-bottom: 17px;
}

.ksc26-section p {
	font-size: 16.5px;
	line-height: 1.85;
	color: #4e6461;
}

.ksc26-lead p {
	font-size: 18px;
	max-width: 650px;
}

.ksc26-gradient-word,
.ksc26-gradient-title h2 span,
.ksc26-gradient-title h1 span {
	background: linear-gradient(105deg, #145c54 0%, #23a391 35%, #8cbda3 65%, #177a6b 100%);
	background-size: 230% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	animation: ksc26Gradient 8s ease-in-out infinite alternate;
}

@keyframes ksc26Gradient {
	0% {
		background-position: 0 50%;
	}

	100% {
		background-position: 100% 50%;
	}
}

.ksc26-section .button,
.ksc26-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	background: linear-gradient(115deg, #125c52, #218f7c, #14665d) !important;
	background-size: 200% auto !important;
	color: var(--color-white) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: 0 9px 23px rgba(18, 94, 84, .18);
	transition: background-position .4s, box-shadow .3s, transform .3s;
	margin-bottom: 0;
	margin-right: 0;
}

.ksc26-section .button:hover,
.ksc26-button:hover {
	background-position: 100% 0 !important;
	box-shadow: 0 12px 26px rgba(18, 94, 84, .22);
	transform: translateY(-2px);
}

.ksc26-section .button.is-outline,
.ksc26-section .button.secondary {
	background: transparent !important;
	color: var(--ksc-deep) !important;
	border: 1px solid rgba(20, 102, 93, .42) !important;
	box-shadow: none;
}

.ksc26-dark .button.is-outline {
	color: var(--color-white) !important;
	border-color: rgba(255, 255, 255, .6) !important;
}

.ksc26-section .col {
	min-width: 0;
}

.ksc26-card>.col-inner,
.ksc26-card-inner {
	position: relative;
	height: 100%;
	border: 1px solid var(--ksc-border);
	border-radius: 23px;
	background: linear-gradient(140deg, rgba(255, 255, 255, .93), rgba(238, 248, 241, .8));
	box-shadow: 0 10px 32px rgba(22, 72, 61, .07);
	padding: 28px !important;
	transition: transform .32s, border-color .32s, box-shadow .32s;
	overflow: hidden;
}

.ksc26-card>.col-inner:before {
	content: "";
	position: absolute;
	left: -55%;
	top: 0;
	width: 42%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .49), transparent);
	transform: skewX(-14deg);
	transition: left .7s;
	pointer-events: none;
}

.ksc26-card:hover>.col-inner {
	transform: translateY(-4px);
	border-color: rgba(41, 151, 131, .4);
	box-shadow: 0 19px 40px rgba(22, 72, 61, .1);
}

.ksc26-card:hover>.col-inner:before {
	left: 140%;
}

.ksc26-card h3 {
	font-size: 20px;
	line-height: 1.4;
	color: #15594f;
	margin: 12px 0;
}

.ksc26-card p {
	font-size: 15px;
	line-height: 1.75;
	margin-bottom: 10px;
}

.ksc26-card-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 47px;
	height: 47px;
	background: linear-gradient(125deg, #d5f3e7, #f7fcf9);
	border: 1px solid #b6e6d8;
	border-radius: 15px;
	color: #12655c;
	font-size: 19px;
	font-weight: 800;
}

.ksc26-section-title {
	text-align: center;
	margin-bottom: 24px;
}

.ksc26-section-title p {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

.ksc26-hero-art {
	height: 460px;
	position: relative;
	isolation: isolate;
	max-width: 540px;
	margin: auto;
}

.ksc26-hero-orb {
	position: absolute;
	width: 370px;
	height: 370px;
	border-radius: 50%;
	background: linear-gradient(120deg, #d4eae2, var(--color-white)1de, #ceeae1);
	left: 15%;
	top: 12%;
	filter: blur(.2px);
}

.ksc26-hero-photo {
	position: absolute;
	padding: 9px;
	border-radius: 23px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 14px 40px rgba(20, 80, 67, .13);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .95);
}

.ksc26-hero-photo img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 14px;
}

.ksc26-hero-photo--main {
	height: 305px;
	width: 305px;
	top: 67px;
	left: 20%;
	transform: rotate(-5deg);
}

.ksc26-hero-photo--top {
	height: 142px;
	width: 142px;
	top: 2px;
	right: 0;
	transform: rotate(8deg);
}

.ksc26-hero-photo--bottom {
	height: 157px;
	width: 157px;
	bottom: 0;
	right: 2%;
	transform: rotate(7deg);
}

.ksc26-hero-glint {
	position: absolute;
	font-size: 66px;
	color: #d5b881;
	left: 7%;
	top: 3%;
	animation: ksc26Float 6s ease-in-out infinite alternate;
}

@keyframes ksc26Float {
	to {
		transform: translateY(-11px) rotate(12deg);
	}
}

.ksc26-visual-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ksc26-visual-tile {
	background: var(--color-white);
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--ksc-border);
	box-shadow: 0 12px 28px rgba(22, 73, 63, .07);
}

.ksc26-visual-tile img {
	display: block;
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	transition: transform .65s;
}

.ksc26-visual-tile:hover img {
	transform: scale(1.045);
}

.ksc26-visual-tile span {
	display: block;
	padding: 14px 17px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ksc-deep);
}

.ksc26-info-panel {
	border-radius: 23px;
	padding: 30px;
	background: linear-gradient(120deg, var(--color-white), #eaf7f1);
	border: 1px solid rgba(20, 102, 93, .16);
}

.ksc26-info-panel p {
	margin: 0 0 10px;
}

.ksc26-info-panel strong {
	color: #15584f;
}

.ksc26-section .ksc26-small-note {
	font-size: 13px;
	color: #6e837b;
}

.ksc26-catalog-filters {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr auto auto;
	align-items: center;
	gap: 12px;
	margin: 20px 0 29px;
	padding: 22px;
	background: linear-gradient(125deg, #eef7f2, var(--color-white));
	border: 1px solid var(--ksc-border);
	border-radius: 20px;
}

.ksc26-catalog-filters label,
.ksc26-form-wrap label {
	color: #31564e;
	font-weight: 650;
	font-size: 13px;
}

.ksc26-catalog-filters input,
.ksc26-catalog-filters select,
.ksc26-form-wrap input:not([type=checkbox]),
.ksc26-form-wrap select,
.ksc26-form-wrap textarea {
	height: 46px;
	width: 100%;
	margin: 7px 0 0;
	border: 1px solid #c9e0d8;
	border-radius: 11px;
	background: var(--color-white);
	color: #203332;
	box-shadow: none !important;
	padding: 10px 13px;
	font-size: 15px;
}

.ksc26-form-wrap textarea {
	height: auto !important;
	min-height: 116px;
}

.ksc26-catalog-filters input:focus,
.ksc26-catalog-filters select:focus,
.ksc26-form-wrap input:focus,
.ksc26-form-wrap textarea:focus {
	outline: 2px solid rgba(30, 143, 125, .3);
	outline-offset: 1px;
}

.ksc26-clear {
	color: #14665d;
	font-weight: 650;
	padding: 12px 4px;
	white-space: nowrap;
	margin-top: 20px;
}

.ksc26-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ksc26-product-card,
.ksc26-news-card,
.ksc26-doc-card {
	display: block;
	border: 1px solid var(--ksc-border);
	border-radius: 19px;
	overflow: hidden;
	background: var(--color-white);
	color: var(--ksc-ink);
	box-shadow: 0 8px 28px rgba(20, 71, 61, .06);
	transition: transform .3s, box-shadow .3s;
}

.ksc26-product-card:hover,
.ksc26-news-card:hover,
.ksc26-doc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 30px rgba(20, 71, 61, .12);
}

.ksc26-product-photo {
	aspect-ratio: 1/1;
	background: #f3f5f0;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.ksc26-product-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.ksc26-product-card:hover img {
	transform: scale(1.045);
}

.ksc26-no-photo {
	padding: 18px;
	text-align: center;
	color: #76928b;
}

.ksc26-product-copy {
	padding: 16px;
}

.ksc26-product-copy h3 {
	font-size: 16px;
	line-height: 1.45;
	color: #203332;
	margin: 8px 0;
}

.ksc26-brand {
	font-size: 11px;
	letter-spacing: 1.6px;
	color: #1f8979;
	font-weight: 800;
	text-transform: uppercase;
}

.ksc26-product-copy p {
	font-size: 13px;
	color: #668077;
	margin: 3px 0;
}

.ksc26-text-link {
	display: block;
	margin-top: 13px;
	color: #176b5c;
	font-weight: 750;
	font-size: 13px;
}

.ksc26-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 32px 0;
}

.ksc26-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 43px;
	min-height: 43px;
	border: 1px solid #c9e4d9;
	border-radius: 11px;
	color: #14665d;
}

.ksc26-pagination a.is-current {
	background: var(--ksc-deep);
	color: var(--color-white);
}

.ksc26-no-results,
.ksc26-empty-note {
	padding: 24px;
	background: linear-gradient(130deg, #edf8f3, var(--color-white)9ec);
	border: 1px solid var(--ksc-border);
	border-radius: 18px;
	color: #3f6458;
}

.ksc26-doc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ksc26-doc-card {
	padding: 24px;
}

.ksc26-doc-card span {
	font-size: 11px;
	letter-spacing: 1.5px;
	color: #258b79;
}

.ksc26-doc-card h3 {
	font-size: 18px;
	margin: 12px 0;
	color: #15584e;
}

.ksc26-doc-card p {
	font-size: 13px;
	line-height: 1.5;
	margin: 4px 0;
}

.ksc26-doc-card strong {
	color: #14665d;
}

.ksc26-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ksc26-news-image {
	aspect-ratio: 16/9;
	background: #e9f4f0;
}

.ksc26-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ksc26-news-body {
	padding: 20px;
}

.ksc26-news-body small {
	color: #32786c;
}

.ksc26-news-body h3 {
	font-size: 19px;
	line-height: 1.45;
	color: var(--ksc-ink);
	margin: 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ksc26-news-body p {
	font-size: 14px;
	line-height: 1.7;
}

.ksc26-news-body span {
	font-weight: 700;
	color: #14665d;
}

.ksc26-form-wrap {
	border-radius: 23px;
	background: var(--color-white);
	padding: 27px;
	border: 1px solid var(--ksc-border);
	box-shadow: 0 12px 37px rgba(20, 71, 61, .08);
}

.ksc26-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.ksc26-form-wrap label {
	display: block;
	margin-bottom: 15px;
}

.ksc26-form-wrap .ksc26-consent {
	display: flex;
	align-items: flex-start;
	line-height: 1.5;
	font-weight: 400;
}

.ksc26-form-wrap .ksc26-consent input {
	margin-top: 4px;
	flex: none;
}

.ksc26-form-note,
.ksc26-privacy-note {
	font-size: 13px;
	color: #6d827b;
}

.ksc26-hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
}

.ksc26-form-message {
	padding: 13px 17px;
	border-radius: 12px;
	background: #e5f3ed;
	color: #126659;
	border: 1px solid #a9dacb;
}

.ksc26-detail-meta {
	background: linear-gradient(120deg, #f0f8f3, var(--color-white)af1);
	border: 1px solid #d5e9dc;
	border-radius: 18px;
	padding: 18px 21px;
	margin: 17px 0;
}

.ksc26-detail-meta p {
	font-size: 14px;
	margin: 5px 0;
	color: #375f55;
}

.ksc26-detail-meta .button {
	margin-top: 17px;
}

/* Ẩn UI thương mại mặc định, không ảnh hưởng form liên hệ. */
.woocommerce .price,
.woocommerce .add-to-cart-button,
.woocommerce .single_add_to_cart_button,
.woocommerce .quantity,
.woocommerce .product-small .quick-view,
.woocommerce .star-rating,
.woocommerce .woocommerce-review-link,
.woocommerce .widget_shopping_cart,
.woocommerce .cart-icon,
.woocommerce .cart-item {
	display: none !important;
}

/* Không ẩn section cũ: các module gốc vẫn hiển thị, ảnh nhà máy đã được thay bằng ảnh sản phẩm. */
@media(max-width:849px) {
	.ksc26-section {
		padding-top: 54px !important;
		padding-bottom: 54px !important;
	}

	.ksc26-catalog-filters {
		grid-template-columns: 1fr 1fr;
	}

	.ksc26-products,
	.ksc26-visual-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ksc26-doc-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ksc26-news-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ksc26-hero-art {
		height: 410px;
	}

	.ksc26-card>.col-inner {
		padding: 23px !important;
	}
}

@media(max-width:549px) {
	.ksc26-section {
		padding-top: 43px !important;
		padding-bottom: 43px !important;
	}

	.ksc26-section h1 {
		font-size: 30px;
	}

	.ksc26-section h2 {
		font-size: 27px;
	}

	.ksc26-section p {
		font-size: 15.5px;
		line-height: 1.72;
	}

	.ksc26-lead p {
		font-size: 16px;
	}

	.ksc26-catalog-filters {
		grid-template-columns: 1fr;
		padding: 15px;
	}

	.ksc26-catalog-filters .button {
		width: 100%;
	}

	.ksc26-products,
	.ksc26-visual-strip {
		gap: 10px;
	}

	.ksc26-product-copy {
		padding: 11px;
	}

	.ksc26-product-copy h3 {
		font-size: 14px;
	}

	.ksc26-visual-tile span {
		font-size: 12px;
		padding: 10px;
	}

	.ksc26-doc-grid,
	.ksc26-news-grid,
	.ksc26-form-grid {
		grid-template-columns: 1fr;
	}

	.ksc26-form-wrap {
		padding: 16px;
	}

	.ksc26-hero-art {
		height: 340px;
		max-width: 350px;
	}

	.ksc26-hero-orb {
		width: 255px;
		height: 255px;
		top: 11%;
		left: 15%;
	}

	.ksc26-hero-photo--main {
		height: 220px;
		width: 220px;
		top: 45px;
		left: 17%;
	}

	.ksc26-hero-photo--top {
		width: 102px;
		height: 102px;
		right: 2%;
		top: 0;
	}

	.ksc26-hero-photo--bottom {
		width: 112px;
		height: 112px;
		right: 2%;
		bottom: 5px;
	}

	.ksc26-hero-glint {
		font-size: 48px;
	}

	.ksc26-card>.col-inner {
		padding: 21px !important;
	}
}

@media(prefers-reduced-motion:reduce) {
	.ksc26-gradient-word,
	.ksc26-gradient-title h2 span,
	.ksc26-gradient-title h1 span,
	.ksc26-hero-glint {
		animation: none !important;
	}

	.ksc26-card>.col-inner:before {
		display: none;
	}

	* {
		scroll-behavior: auto !important;
	}
}

.ksc26-form-wrap {
	scroll-margin-top: 105px;
}


/* Các section cũ được giữ nguyên vị trí, chỉ thay ảnh nhà máy bằng ảnh mỹ phẩm KSC. */
.ksc26-legacy-brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 116px;
	height: 116px;
	border-radius: 50%;
	margin: auto;
	background: linear-gradient(135deg, #14665d, #2db2a0 58%, #b39865);
	color: var(--color-white);
	font-size: 38px;
	font-weight: 800;
	letter-spacing: 2px;
	box-shadow: 0 12px 32px rgba(20, 102, 93, .2);
}

.ksc26-legacy-oem-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.ksc26-legacy-product-caption {
	font-size: 13px;
	color: #58766d;
	text-align: center;
	margin-top: 8px;
}

@media(max-width:549px) {
	.ksc26-legacy-brand-mark {
		width: 88px;
		height: 88px;
		font-size: 30px;
	}
}

.ksc26-product-showcase .factory-main-image-wrap {
	background: linear-gradient(135deg, #faf7ef, var(--color-white));
}

.ksc26-product-showcase .factory-main-image-wrap img {
	object-fit: contain;
	padding: 18px;
}

.ksc26-product-showcase .factory-card-img {
	background: var(--color-white);
}

.ksc26-product-showcase .factory-card-img img {
	object-fit: contain;
}