/* =========================================
   1. Base Styles
========================================= */

.elementor-location-header {
	position: relative;
	z-index: 100;
	box-shadow: none;
	border-bottom: 0;
}

body.vi-header-shadow .elementor-location-header {
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
}

body.vi-header-border .elementor-location-header {
	box-shadow: none;
	border-bottom: 1px solid #EAEAEA;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap,
body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap>.e-con-inner {
	overflow: visible;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap {
	position: relative;
	z-index: 50;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow .3s linear;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed {
	position: fixed;
	top: var(--vi-header-wrap-offset, 0px);
	left: var(--vi-header-wrap-left, 0px);
	width: var(--vi-header-wrap-width, 100%);
	background: var(--vi-header-wrap-bg, #FFFFFF);
	z-index: 999;
	isolation: isolate;
	opacity: 0;
	pointer-events: none;
	will-change: opacity;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed.vi-header-wrap--animating {
	transition: opacity .24s linear;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed.vi-header-wrap--stuck {
	opacity: 1;
	pointer-events: auto;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	width: 100dvw;
	transform: translateX(-50%);
	background: var(--vi-header-wrap-bg, #FFFFFF);
	z-index: -1;
	pointer-events: none;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow .3s linear;
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--stuck {
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed.vi-header-wrap--stuck::before {
	box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.12);
}

body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed .e-con-inner> :not(.vi-header-top) {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap {
		transition: none;
	}

	body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed {
		transition: none;
	}

	body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed.vi-header-wrap--animating {
		transition: none;
	}

	body:not(.elementor-editor-active) .elementor-location-header .vi-header-wrap.vi-header-wrap--fixed::before {
		transition: none;
	}
}

@media (max-width:1024px) {
	body.vi-header-shadow-mobile .elementor-location-header {
		box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
		border-bottom: 0;
	}

	body.vi-header-border-mobile .elementor-location-header {
		box-shadow: none;
		border-bottom: 1px solid #EAEAEA;
	}
}

.elementor-popup-modal .dialog-close-button {
	display: flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	top: 0;
	right: 0;
	background-color: #fff;
	transition: all .3s linear;
}

.elementor-popup-modal .dialog-close-button:hover {
	background-color: var(--vi-accent-color);
}

.elementor-popup-modal .dialog-close-button svg {
	transition: all .3s linear;
}

.elementor-popup-modal .dialog-close-button:hover svg {
	fill: var(--vi-white-color);
}

.overflow-hidden {
	overflow: hidden !important;
}

.flex-1-0-0 {
	flex: 1 0 0 !important;
}

@media only screen and (min-width:768px) {
	.flex-1-0-0-md {
		flex: 1 0 0 !important;
	}
}

@media only screen and (min-width:1025px) {
	.flex-1-0-0-lg {
		flex: 1 0 0 !important;
	}
}

html[lang^="en"] body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

html[lang^="en"] textarea,
html[lang^="en"] button,
html[lang^="en"] select,
html[lang^="en"] input {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

html[lang^="th"] body {
	font-family: 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[lang^="th"] textarea,
html[lang^="th"] button,
html[lang^="th"] select,
html[lang^="th"] input {
	font-family: 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
}

body {
	color: var(--vi-text-color);
	overflow-x: hidden;
}

.vi-middle {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

.vi-middle-style-2 {
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

p:not(:last-child) {
	margin-bottom: 1.25rem;
}

.vi-product-btn-line .vi-product-btn-line__link {
	display: flex;
	width: 100%;
	min-height: 60px;
	border-radius: 50px;
	border-width: 2px;
	border-style: solid;
	border-color: var(--vi-accent-color);
	color: var(--vi-accent-color);
	background-color: var(--vi-white-color);
	justify-content: center;
	align-items: center;
	font-weight: 600;
	gap: 8px;
}

.vi-product-btn-line__icon {
	width: 29px;
	height: 29px;
}

.vi-product-btn-line .vi-product-btn-line__link:hover {
	background-color: var(--vi-accent-color);
	color: var(--vi-white-color);
}

.vi-is-hidden {
	display: none;
}

.vi-page .page-header {
	text-align: center;
}

.vi-page .page-header__date {
	color: #6d4a26;
}

.vi-page .vi-page__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.vi-page h2 {
	margin: 32px 0 20px;
	font-size: 30px;
	font-weight: 600;
}

.vi-page h3 {
	margin: 24px 0 18px;
	font-size: 26px;
	font-weight: 600;
}

.vi-page h4 {
	margin: 20px 0 16px;
	font-size: 24px;
	font-weight: 600;
}

.vi-page p,
.vi-page ol,
.vi-page ul {
	margin: 0 0 1.25rem 0;
}

.vi-page ol,
.vi-page ul {
	padding-left: 20px;
	margin-left: 1.5rem;
}

.vi-page li:not(:last-child) {
	margin-bottom: 1.25rem;
}

.vi-page a {
	text-decoration: underline;
	color: var(--vi-accent-color);
}

.vi-page a:hover,
.vi-page a:focus {
	text-decoration: none;
}

.vi-page .page-content>*:last-child {
	margin-bottom: 0;
}

.vi-page .page-content img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

.vi-page figure {
	margin: 2rem 0;
}

/* =========================================
   2. Search Modal
========================================= */

.vi-search-trigger {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 9px;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	cursor: pointer;
}

.vi-search-trigger svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #3e3e3e;
	transition: all .3s linear;
}

.vi-search-trigger:hover svg {
	fill: var(--vi-accent-color);
}

.vi-search {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.vi-search-open .vi-search {
	display: block;
}

.vi-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
}

.vi-search__dialog {
	position: relative;
	width: min(740px, calc(100vw - 32px));
	margin: 90px auto 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.vi-search__input {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.vi-search__icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.vi-search__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #b4b4b4;
}

.vi-search__field {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	padding: 0;
	height: 50px;
}

.vi-search__field::placeholder {
	opacity: 0.55;
}

.vi-search__field[type="search"]::-webkit-search-cancel-button,
.vi-search__field[type="search"]::-webkit-search-decoration,
.vi-search__field[type="search"]::-webkit-search-results-button,
.vi-search__field[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.vi-search__field[type="search"]::-ms-clear,
.vi-search__field[type="search"]::-ms-reveal {
	display: none;
	width: 0;
	height: 0;
}

.vi-search__close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.05);
	cursor: pointer;
	position: relative;
}

.vi-search__close::before,
.vi-search__close::after {
	content: '';
	position: absolute;
	inset: 50% auto auto 50%;
	width: 14px;
	height: 2px;
	background: rgba(0, 0, 0, 0.55);
	transform-origin: center;
}

.vi-search__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.vi-search__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.vi-search__results {
	max-height: 330px;
	overflow: auto;
	padding: 15px;
}

.vi-search__item {
	display: block;
	padding: 14px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: background 120ms ease;
}

.vi-search .vi-search__item.is-active {
	background: #faf5ed;
	color: var(--vi-accent-color);
}

.vi-search__title {
	font-size: 15px;
	line-height: 1.25;
	font-weight: 600;
}

.vi-search__title strong {
	font-weight: 700;
}

.vi-search__desc {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.3;
	opacity: 0.72;
}

.vi-search__status {
	padding: 22px 18px;
	font-size: 14px;
	opacity: 0.65;
}

.vi-search__empty {
	padding: 10px 18px 18px;
	font-size: 14px;
	opacity: 0.7;
}

@media (max-width: 768px) {
	.vi-search__dialog {
		width: calc(100vw - 48px);
		margin: 44px 24px 40px 24px;
		height: calc(100vh - 84px);
		display: flex;
		flex-direction: column;
	}

	.vi-search__results {
		max-height: none;
		flex: 1 1 auto;
	}
}

.vi-search-open body {
	overflow: hidden;
}

@media only screen and (min-width:1025px) {
	.vi-search-trigger {
		padding: 6px;
	}
}


/* =========================================
   3. Footer
========================================= */
.elementor-location-footer a {
	color: var(--vi-white-color);
}

.elementor-location-footer a:hover {
	color: var(--vi-accent-color);
}

@media only screen and (min-width:1025px) {
	.elementor-location-footer .vi-footer-company {
		width: auto;
	}
}

@media only screen and (max-width:767px) {
	.elementor-location-footer .vi-footer-menu {
		display: flex;
		flex-wrap: wrap;
	}
}

/* =========================================
   4. Info Pages
========================================= */

.vi-info-layout {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

.vi-info-layout__sidebar {
	position: relative;
	display: none;
}

.vi-info-layout__sidebar,
.vi-info-layout__content {
	min-width: 0;
}

.vi-info-nav__select-wrap {
	width: 100%;
}

.vi-info-nav__select {
	width: 100%;
	border: 1px solid #d0d5dd;
	border-radius: 1rem;
	padding: 0.85rem 2.75rem 0.85rem 1rem;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px 16px;
	appearance: none;
	font-weight: 500;
	color: var(--vi-text-color, #2b2b2b);
	cursor: pointer;
}

.vi-info-layout .vi-info-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.vi-info-layout .vi-info-nav .vi-info-nav__list li {
	margin: 0;
}

.vi-info-layout .vi-info-nav__list>li>a {
	display: block;
	padding: 0.9rem 1rem;
	background: #f1f1f1;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	color: var(--vi-text-color, #2b2b2b);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vi-info-layout .vi-info-nav__list>li>a:hover,
.vi-info-layout .vi-info-nav__list>li>a:focus-visible {
	background: #e9e9e9;
}

.vi-info-layout .vi-info-nav__list>.current-menu-item>a,
.vi-info-layout .vi-info-nav__list>.current-menu-ancestor>a,
.vi-info-layout .vi-info-nav__list>.current_page_item>a {
	background: var(--vi-accent-color, #cc9742);
	border-color: var(--vi-accent-color, #cc9742);
	color: var(--vi-white-color, #ffffff);
}

.vi-info-layout .vi-info-nav__list>li>a:focus-visible {
	outline: 2px solid var(--vi-accent-color, #cc9742);
	outline-offset: 2px;
}

.vi-info-content {
	background: #ffffff;
}

.vi-info-content ul,
.vi-info-content ol {
	margin-left: 20px;
}

.vi-info-content h1 {
	font-size: 34px;
	margin-bottom: 1rem;
}

.vi-info-content h2 {
	font-size: 20px;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.vi-info-content h3 {
	font-size: 18px;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.vi-info-content h4 {
	font-size: 16px;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.vi-info-content h5 {
	font-size: 14px;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.vi-info-content h6 {
	font-size: 12px;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.vi-info-content blockquote {
	border-left: 3px solid var(--vi-accent-color);
	padding-left: 15px;
	margin-left: 0;
	margin-bottom: 1.5rem;
}

.vi-info-content blockquote li {
	list-style: none;
}

.vi-info-content .page-content>*:last-child {
	margin-bottom: 0;
}

@media (min-width: 1025px) {
	.vi-info-layout {
		grid-template-columns: 17rem minmax(0, 1fr);
		gap: 2rem;
	}

	.vi-info-layout--no-menu {
		grid-template-columns: minmax(0, 1fr);
	}

	.vi-info-nav__select-wrap {
		display: none;
	}

	.vi-info-layout__sidebar {
		display: block;
		position: sticky;
		top: 1.5rem;
		align-self: start;
	}
}