:root {
	--modvf-primary: #0a88c7;
	--modvf-secondary: #082743;
	--modvf-button: #0a88c7;
	--modvf-ink: #102334;
	--modvf-muted: #607285;
	--modvf-line: #dce5ec;
	--modvf-surface: #f4f8fb;
	--modvf-white: #fff;
	--modvf-radius: 22px;
	--modvf-shadow: 0 18px 45px rgba(8, 39, 67, .09);
	--modvf-columns: 4;
	--modvf-mobile-columns: 2;
}

.modvf-site-main,
.modvf-products-shell,
.modvf-product {
	color: var(--modvf-ink);
	font-family: "Noto Sans Thai", "Leelawadee UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.modvf-site-main *,
.modvf-products-shell *,
.modvf-product * { box-sizing: border-box; }

.modvf-site-main img,
.modvf-product img { max-width: 100%; height: auto; }

.modvf-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.modvf-eyebrow { display: block; margin-bottom: 9px; color: var(--modvf-primary); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.modvf-section { padding: clamp(64px, 7vw, 104px) 0; }
.modvf-section--tint { background: var(--modvf-surface); }
.modvf-section--dark { background: var(--modvf-secondary); color: #fff; }
.modvf-section__head { max-width: 720px; margin-bottom: 34px; }
.modvf-section__head h2 { margin: 0; color: inherit; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.03em; }
.modvf-section__head p { margin: 12px 0 0; color: inherit; opacity: .72; }

.modvf-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 22px 0; color: var(--modvf-muted); font-size: 13px; }
.modvf-breadcrumb a { color: inherit; text-decoration: none; }
.modvf-breadcrumb a:hover { color: var(--modvf-primary); }

.modvf-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(38px, 6vw, 84px); align-items: center; padding: 26px 0 clamp(70px, 8vw, 116px); }
.modvf-hero__gallery { min-width: 0; }
.modvf-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.modvf-hero__meta span { padding: 6px 11px; border: 1px solid #cfe1ed; border-radius: 999px; color: var(--modvf-primary); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.modvf-hero__title { margin: 0; color: var(--modvf-ink); font-size: clamp(39px, 5vw, 68px); line-height: 1.07; letter-spacing: -.045em; }
.modvf-hero__lead { margin: 22px 0; color: var(--modvf-muted); font-size: clamp(17px, 2vw, 20px); }
.modvf-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.modvf-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid var(--modvf-button); border-radius: 12px; background: var(--modvf-button); color: #fff !important; font-weight: 750; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.modvf-button:hover { transform: translateY(-1px); box-shadow: 0 9px 20px color-mix(in srgb, var(--modvf-button) 28%, transparent); }
.modvf-button--outline { background: transparent; color: var(--modvf-button) !important; }
.modvf-button--ghost { border-color: var(--modvf-line); background: #fff; color: var(--modvf-ink) !important; }
.modvf-button--light { border-color: #fff; background: #fff; color: var(--modvf-secondary) !important; }

.modvf-gallery__main { position: relative; display: grid; width: 100%; min-height: 460px; place-items: center; overflow: hidden; padding: 0; border: 1px solid var(--modvf-line); border-radius: 28px; background: linear-gradient(145deg, #eef5f9, #fff); box-shadow: var(--modvf-shadow); cursor: zoom-in; }
.modvf-gallery__main > img { width: 100%; height: 100%; min-height: 460px; object-fit: contain; }
.modvf-gallery__main > img.is-changing { animation: modvf-gallery-swap .24s ease both; }
@keyframes modvf-gallery-swap { from { opacity: .42; transform: scale(.992); } to { opacity: 1; transform: scale(1); } }
.modvf-gallery__main > span { position: absolute; right: 16px; bottom: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(8, 39, 67, .8); color: #fff; font-size: 12px; }
.modvf-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 13px 2px 7px; scrollbar-color: #9db0bc transparent; scrollbar-width: thin; }
.modvf-gallery__thumbs::-webkit-scrollbar { height: 6px; }
.modvf-gallery__thumbs::-webkit-scrollbar-track { background: transparent; }
.modvf-gallery__thumbs::-webkit-scrollbar-thumb { border-radius: 999px; background: #9db0bc; }
.modvf-gallery__thumb { flex: 0 0 78px; height: 62px; overflow: hidden; padding: 2px; border: 2px solid transparent; border-radius: 11px; background: #fff; cursor: pointer; }
.modvf-gallery__thumb.is-active { border-color: var(--modvf-primary); }
.modvf-gallery__thumb img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }

.modvf-model-select { display: grid; gap: 7px; margin: 25px 0 18px; color: var(--modvf-ink); font-weight: 750; }
.modvf-model-select select { width: 100%; min-height: 49px; padding: 8px 42px 8px 13px; border: 1px solid #bfd1dd; border-radius: 12px; background-color: #fff; color: var(--modvf-ink); font: inherit; }
.modvf-model-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--modvf-line); border-radius: 14px; background: var(--modvf-line); }
.modvf-model-summary span { display: grid; gap: 2px; padding: 12px 14px; background: #fff; }
.modvf-model-summary small { color: var(--modvf-muted); font-size: 11px; text-transform: uppercase; }
.modvf-model-summary strong { color: var(--modvf-ink); font-size: 15px; }

.modvf-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.modvf-feature { min-height: 230px; padding: 26px; border: 1px solid var(--modvf-line); border-radius: var(--modvf-radius); background: #fff; box-shadow: 0 12px 35px rgba(8, 39, 67, .05); }
.modvf-feature__icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 38px; border-radius: 14px; background: color-mix(in srgb, var(--modvf-primary) 12%, white); color: var(--modvf-primary); font-size: 13px; font-weight: 850; }
.modvf-feature h3 { margin: 0 0 9px; color: var(--modvf-ink); font-size: 19px; line-height: 1.3; }
.modvf-feature p { margin: 0; color: var(--modvf-muted); font-size: 14px; }

.modvf-copy-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.modvf-richtext { color: var(--modvf-muted); font-size: 17px; }
.modvf-richtext h2, .modvf-richtext h3 { color: var(--modvf-ink); }
.modvf-richtext h2:first-child { display: none; }
.modvf-richtext > :first-child { margin-top: 0; }
.modvf-richtext > :last-child { margin-bottom: 0; }
.modvf-application { padding: 30px; border-radius: var(--modvf-radius); background: var(--modvf-secondary); color: #fff; }
.modvf-application h2 { margin: 0 0 18px; color: #fff; font-size: 24px; }
.modvf-application ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.modvf-application li { position: relative; padding-left: 24px; }
.modvf-application li::before { position: absolute; left: 0; color: #56c3f0; content: "✓"; font-weight: 800; }

.modvf-tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--modvf-radius); background: rgba(255,255,255,.07); }
.modvf-tech-item { display: grid; min-height: 114px; align-content: center; gap: 7px; padding: 22px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.modvf-tech-item span { color: #99c0d6; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.modvf-tech-item strong { color: #fff; font-size: 18px; line-height: 1.35; }

.modvf-table-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--modvf-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(8, 39, 67, .05); -webkit-overflow-scrolling: touch; }
.modvf-spec-table { width: 100%; min-width: 680px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; color: var(--modvf-ink); font-size: 14px; }
.modvf-spec-table th, .modvf-spec-table td { padding: 16px 18px; border: 0; border-right: 1px solid var(--modvf-line); border-bottom: 1px solid var(--modvf-line); text-align: left; vertical-align: middle; }
.modvf-spec-table tr > :last-child { border-right: 0; }
.modvf-spec-table thead th { position: sticky; top: 0; z-index: 2; background: var(--modvf-secondary); color: #fff; font-weight: 750; }
.modvf-spec-table thead th:first-child { left: 0; z-index: 3; }
.modvf-spec-table tbody th { position: sticky; left: 0; z-index: 1; background: #f7fafc; color: var(--modvf-ink); font-weight: 750; }
.modvf-spec-table tr:last-child > * { border-bottom: 0; }

.modvf-dimension-grid { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 28px; align-items: start; }
.modvf-dimension-grid > * { min-width: 0; }
.modvf-dimension-image { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--modvf-line); border-radius: 16px; background: #fff; cursor: zoom-in; }
.modvf-dimension-image img { display: block; width: 100%; }
.modvf-dimension-image span { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(8,39,67,.82); color: #fff; font-size: 11px; }
.modvf-dimension-table-wrap { border-color: #d9e4eb; box-shadow: 0 16px 38px rgba(8, 39, 67, .07); }
.modvf-dimension-table { min-width: 640px; }
.modvf-dimension-table th, .modvf-dimension-table td { border-right: 0; border-bottom-color: #e5edf2; }
.modvf-dimension-table thead th { padding-block: 17px; border-right: 1px solid rgba(255, 255, 255, .15); letter-spacing: .025em; }
.modvf-dimension-table thead th:last-child { border-right: 0; }
.modvf-dimension-table tbody th { background: #f5f9fb; }
.modvf-dimension-table tbody td { background: #fff; color: var(--modvf-muted); }
.modvf-dimension-table tbody tr:hover th, .modvf-dimension-table tbody tr:hover td { background: #f0f7fb; }
.modvf-performance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.modvf-performance-grid button { overflow: hidden; padding: 0; border: 1px solid var(--modvf-line); border-radius: 16px; background: #fff; cursor: zoom-in; }
.modvf-accessories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.modvf-accessories li { padding: 20px; border: 1px solid var(--modvf-line); border-radius: 14px; background: #fff; }

.modvf-download-grid { display: grid; gap: 12px; }
.modvf-download { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; padding: 19px; border: 1px solid var(--modvf-line); border-radius: 16px; background: #fff; }
.modvf-download__icon { display: grid; width: 52px; height: 60px; place-items: center; border-radius: 9px; background: #e9f3f9; color: var(--modvf-primary); font-size: 13px; font-weight: 850; }
.modvf-download h3 { margin: 0 0 2px; color: var(--modvf-ink); font-size: 17px; }
.modvf-download p { margin: 0; color: var(--modvf-muted); font-size: 13px; }

.modvf-cta { background: linear-gradient(125deg, var(--modvf-secondary), #0b4c73); color: #fff; }
.modvf-cta .modvf-shell { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.modvf-cta h2 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 52px); }
.modvf-cta p { margin: 8px 0 0; color: #bfdae8; }
.modvf-cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.modvf-product-grid { display: grid; grid-template-columns: repeat(var(--modvf-columns), minmax(0, 1fr)); gap: 22px; }
.modvf-product-grid--related { --modvf-columns: 4; }
.modvf-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--modvf-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(8,39,67,.06); transition: transform .25s ease, box-shadow .25s ease; }
.modvf-card:hover { transform: translateY(-4px); box-shadow: var(--modvf-shadow); }
.modvf-card__media { display: grid; aspect-ratio: 1.15 / 1; place-items: center; overflow: hidden; background: linear-gradient(145deg, #edf4f8, #fff); }
.modvf-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.modvf-card:hover .modvf-card__image { transform: scale(1.025); }
.modvf-card__placeholder { color: var(--modvf-primary); font-size: 30px; font-weight: 850; }
.modvf-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.modvf-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; color: var(--modvf-primary); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.modvf-card__meta span + span::before { margin-right: 6px; color: #b8c6d0; content: "·"; }
.modvf-card__title { margin: 0; color: var(--modvf-ink); font-size: 20px; line-height: 1.35; }
.modvf-card__title a { color: inherit; text-decoration: none; }
.modvf-card__models { margin: 9px 0 0; color: var(--modvf-primary); font-size: 12px; font-weight: 750; }
.modvf-card__excerpt { margin: 10px 0 18px; color: var(--modvf-muted); font-size: 13px; }
.modvf-card__link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--modvf-line); color: var(--modvf-ink); font-size: 13px; font-weight: 750; text-decoration: none; }

.modvf-search { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, .6fr)) auto; gap: 11px; align-items: end; margin-bottom: 28px; padding: 18px; border: 1px solid var(--modvf-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(8,39,67,.05); }
.modvf-search label { display: grid; gap: 5px; color: var(--modvf-muted); font-size: 11px; font-weight: 700; }
.modvf-search input, .modvf-search select { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #cdd9e1; border-radius: 11px; background: #fff; color: var(--modvf-ink); font: inherit; font-size: 14px; }
.modvf-search__advanced { grid-column: 1 / -1; }
.modvf-search__advanced summary { color: var(--modvf-primary); cursor: pointer; font-size: 13px; font-weight: 750; }
.modvf-search__advanced > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; padding-top: 13px; }
.modvf-search__reset { align-self: center; color: var(--modvf-muted); font-size: 13px; }
.modvf-empty { padding: 60px 24px; border: 1px dashed #bdccd6; border-radius: 18px; color: var(--modvf-muted); text-align: center; }
.modvf-empty strong { color: var(--modvf-ink); font-size: 19px; }
.modvf-pagination ul { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 34px 0 0; padding: 0; list-style: none; }
.modvf-pagination a, .modvf-pagination span { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--modvf-line); border-radius: 9px; color: var(--modvf-ink); text-decoration: none; }
.modvf-pagination .current { border-color: var(--modvf-primary); background: var(--modvf-primary); color: #fff; }

.modvf-archive__header { padding: clamp(70px, 9vw, 120px) 0; background: linear-gradient(125deg, var(--modvf-secondary), #0e5882); color: #fff; }
.modvf-archive__header h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px, 6vw, 76px); line-height: 1.05; }
.modvf-archive__header p { margin: 18px 0 0; color: #c2dce9; font-size: 18px; }
.modvf-archive__body { padding: clamp(50px, 7vw, 90px) 0; }
.modvf-term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modvf-term-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--modvf-line); border-radius: 16px; background: #fff; color: var(--modvf-ink); text-decoration: none; }
.modvf-term-card span { color: var(--modvf-muted); font-size: 13px; }

.modvf-lightbox[hidden] { display: none; }
.modvf-lightbox { position: fixed; z-index: 999999; inset: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 56px 18px 20px; background: rgba(3,13,22,.94); }
.modvf-lightbox figure { display: grid; max-width: 1500px; max-height: calc(100vh - 80px); justify-self: center; margin: 0; place-items: center; }
.modvf-lightbox img { max-width: 100%; max-height: calc(100vh - 115px); object-fit: contain; }
.modvf-lightbox figcaption { padding-top: 8px; color: #dce8ef; font-size: 13px; }
.modvf-lightbox button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 45px; }
.modvf-lightbox__close { position: absolute; top: 8px; right: 18px; }
.modvf-lightbox-open { overflow: hidden; }
.modvf-floating { position: fixed; z-index: 9998; right: 18px; bottom: 18px; display: grid; gap: 9px; }
.modvf-floating a { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; box-shadow: 0 10px 28px rgba(0,0,0,.2); color: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }
.modvf-floating__line { background: #06c755; }
.modvf-floating__phone { background: var(--modvf-primary); font-size: 22px !important; }

@media (max-width: 1080px) {
	.modvf-hero { grid-template-columns: 1fr 1fr; gap: 35px; }
	.modvf-gallery__main, .modvf-gallery__main > img { min-height: 380px; }
	.modvf-feature-grid, .modvf-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.modvf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.modvf-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.modvf-search { grid-template-columns: 1fr 1fr; }
	.modvf-search__query { grid-column: 1 / -1; }
	.modvf-dimension-grid { grid-template-columns: 1fr; }
	.modvf-dimension-image { width: min(100%, 760px); justify-self: center; }
}

@media (max-width: 760px) {
	.modvf-shell { width: min(100% - 28px, 1240px); }
	.modvf-section { padding: 56px 0; }
	.modvf-hero { grid-template-columns: 1fr; padding-top: 8px; }
	.modvf-hero__content { min-width: 0; }
	.modvf-hero__title { font-size: clamp(36px, 11vw, 52px); }
	.modvf-gallery__main, .modvf-gallery__main > img { min-height: 300px; }
	.modvf-gallery__thumb { flex-basis: 68px; height: 55px; }
	.modvf-copy-grid, .modvf-dimension-grid { grid-template-columns: 1fr; }
	.modvf-accessories { grid-template-columns: 1fr; }
	.modvf-cta .modvf-shell { align-items: flex-start; flex-direction: column; }
	.modvf-cta__actions { justify-content: flex-start; }
	.modvf-download { grid-template-columns: auto 1fr; }
	.modvf-download .modvf-button { grid-column: 1 / -1; }
	.modvf-product-grid, .modvf-product-grid--related { grid-template-columns: repeat(var(--modvf-mobile-columns), minmax(0, 1fr)); gap: 12px; }
	.modvf-card__body { padding: 14px; }
	.modvf-card__title { font-size: 16px; }
	.modvf-card__excerpt { display: none; }
	.modvf-card__models { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.modvf-card__link { font-size: 12px; }
	.modvf-search { grid-template-columns: 1fr; padding: 14px; }
	.modvf-search__query, .modvf-search__advanced { grid-column: auto; }
	.modvf-search__advanced > div, .modvf-term-grid { grid-template-columns: 1fr; }
	.modvf-performance-grid { grid-template-columns: 1fr; }
	.modvf-lightbox { grid-template-columns: 42px minmax(0, 1fr) 42px; padding-inline: 4px; }
}

@media (max-width: 420px) {
	.modvf-feature-grid, .modvf-tech-grid { grid-template-columns: 1fr; }
	.modvf-hero__actions .modvf-button { width: 100%; }
	.modvf-card__meta span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.modvf-card, .modvf-card__image, .modvf-button { transition: none; }
}
