/* Vertex Medical Supply CI: tokens, chrome and shared sections */

body.vx-ci {
	--ink: #18264F;
	--deep: #154B7F;
	--signal: #1D81C4;
	--aqua: #C4E7EB;
	--cyan: #209AC1;
	--teal: #14667D;
	--violet: #6A68B0;
	--paper: #F2F2F3;
	--line: #E0E0E0;
	--mute: #727172;
	--graphite: #444545;
	--text: #181818;
	--sale: #CF3A39;
	--th: "IBM Plex Sans Thai", "IBM Plex Sans", system-ui, sans-serif;
	--num: "Google Sans", "IBM Plex Sans", system-ui, sans-serif;
	--wrap: 1200px;

	margin: 0;
	background-color: #F7F8FA;
	background-image: radial-gradient(#D9DEE6 1px, transparent 1.3px);
	background-size: 26px 26px;
	color: var(--graphite);
	font-family: var(--th);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Resets for the CI page templates only */
body.vx-ci-tpl *,
body.vx-ci-tpl *::before,
body.vx-ci-tpl *::after {
	box-sizing: border-box;
}

.vx-ci-tpl img {
	max-width: 100%;
	height: auto;
	display: block;
}

.vx-ci-tpl a {
	color: inherit;
	text-decoration: none;
}

.vx-ci-tpl h1,
.vx-ci-tpl h2,
.vx-ci-tpl h3 {
	font-family: var(--th);
	color: var(--ink);
	margin: 0;
	letter-spacing: 0;
}

.vx-ci-tpl p,
.vx-ci-tpl ul,
.vx-ci-tpl ol {
	margin: 0;
}

.vx-ci-tpl .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.vx-ci :focus-visible {
	outline: 3px solid var(--signal);
	outline-offset: 3px;
}

.vxh-skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff !important;
}

.vxh-skip:focus {
	top: 12px;
}

.vxh-wrap {
	width: min(var(--wrap), 100% - 48px);
	margin-inline: auto;
}

/* Buttons: CI normal / hover */
.vxh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: 8px;
	font-family: var(--th);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.vxh-btn-sm {
	min-height: 40px;
	padding: 0 18px;
	font-size: 15px;
}

.vxh-btn-ink {
	background: var(--ink);
	color: #fff !important;
}

.vxh-btn-ink:hover {
	background: var(--signal);
}

.vxh-btn-outline {
	border-color: var(--ink);
	color: var(--ink) !important;
	background: #fff;
}

.vxh-btn-outline:hover {
	background: var(--ink);
	color: #fff !important;
}

.vxh-btn-signal {
	background: var(--signal);
	color: #fff !important;
}

.vxh-btn-signal:hover {
	background: #fff;
	color: var(--ink) !important;
}

.vxh-btn-ghost {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.vxh-btn-ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink) !important;
}

.vxh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Section label pill */
.vxh-pill {
	display: inline-block;
	margin: 0;
	padding: 5px 16px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-family: var(--th);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.vxh-pill-dark {
	border-color: rgba(196, 231, 235, 0.45);
	background: transparent;
	color: var(--aqua);
}

/* Vertex angle mark */
.vxh-stroke {
	fill: none;
	stroke-width: 30;
	stroke-linecap: round;
}

.vxh-stroke-v {
	stroke: rgba(196, 231, 235, 0.18);
}

.vxh-stroke-up {
	stroke: var(--deep);
}

.vxh-stroke-low {
	stroke: var(--signal);
}

/* Header */
.vxh-head {
	position: sticky;
	top: 0;
	z-index: 50;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
	font-family: var(--th);
}

.admin-bar .vxh-head {
	top: 32px;
}

.vxh-head-in {
	display: flex;
	align-items: center;
	gap: 32px;
	width: min(1360px, 100% - 48px);
	min-height: 76px;
	margin-inline: auto;
}

.vxh-brand {
	display: block;
	flex: none;
}

.vxh-brand img {
	display: block;
	width: auto;
	height: 42px;
	max-width: none;
}

.vxh-nav {
	display: flex;
	gap: 4px;
	margin-inline: auto;
}

.vxh-nav a {
	position: relative;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--ink) !important;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none !important;
	white-space: nowrap;
}

.vxh-nav a:hover {
	color: var(--signal) !important;
}

.vxh-nav a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--signal);
}

.vxh-head-act {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vxh-head-link {
	color: var(--ink) !important;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
}

.vxh-head-link:hover {
	color: var(--signal) !important;
}

.vxh-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--aqua);
	color: var(--ink);
	font-family: var(--num);
	font-size: 13px;
	font-weight: 700;
}

.vxh-menu {
	display: none;
	position: relative;
}

.vxh-menu summary {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	list-style: none;
	cursor: pointer;
}

.vxh-menu summary::-webkit-details-marker {
	display: none;
}

.vxh-menu summary span,
.vxh-menu summary span::before,
.vxh-menu summary span::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
}

.vxh-menu summary span {
	position: relative;
}

.vxh-menu summary span::before,
.vxh-menu summary span::after {
	content: "";
	position: absolute;
	left: 0;
}

.vxh-menu summary span::before {
	top: -6px;
}

.vxh-menu summary span::after {
	top: 6px;
}

.vxh-menu-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	display: grid;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 48px -24px rgba(24, 38, 79, 0.4);
}

.vxh-menu-panel a {
	padding: 12px 14px;
	border-radius: 8px;
	color: var(--ink) !important;
	font-weight: 500;
	text-decoration: none !important;
}

.vxh-menu-panel a:hover,
.vxh-menu-panel a[aria-current="page"] {
	background: var(--paper);
}

/* Sections */
.vxh-sec {
	padding-top: 120px;
}

.vxh-sec-head {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.vxh-sec-head h2,
.vxh-split h2,
.vxh-faq-head h2 {
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	line-height: 1.3;
}

.vxh-sec-head p:not(.vxh-pill) {
	max-width: 40em;
	font-size: 17px;
}

.vx-ci-tpl .vxh-center {
	margin-top: 48px;
	text-align: center;
}

.vxh-small {
	color: var(--mute);
	font-size: 14px;
}

/* Informative cards (CI) */
.vxh-info {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.vxh-info.is-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vxh-info-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 280px;
	padding: 28px;
	border-radius: 20px;
}

.vxh-info-card svg {
	width: 40px;
	height: 40px;
	margin-bottom: auto;
}

.vxh-info-card h3 {
	margin-top: 40px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.vxh-info-card p {
	font-size: 15px;
	line-height: 1.6;
}

.vxh-info-card.is-ink {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
}

.vxh-info-card.is-ink svg {
	color: var(--aqua);
}

.vxh-info-card.is-signal {
	background: var(--signal);
	color: rgba(255, 255, 255, 0.88);
}

.vxh-info-card.is-signal svg,
.vxh-info-card.is-graphite svg {
	color: #fff;
}

.vxh-info-card.is-ink h3,
.vxh-info-card.is-signal h3,
.vxh-info-card.is-graphite h3 {
	color: #fff;
}

.vxh-info-card.is-aqua {
	background: var(--aqua);
	color: var(--deep);
}

.vxh-info-card.is-aqua svg {
	color: var(--ink);
}

.vxh-info-card.is-graphite {
	background: var(--graphite);
	color: rgba(255, 255, 255, 0.78);
}

.vxh-info-card.is-paper {
	background: #fff;
	border: 1px solid var(--line);
	color: var(--graphite);
}

.vxh-info-card.is-paper svg {
	color: var(--ink);
}

/* Category tiles */
.vxh-cat {
	display: grid;
	gap: 4px;
	align-content: start;
	padding: 18px 18px 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	text-decoration: none !important;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.vxh-cat:hover {
	transform: translateY(-3px);
	border-color: var(--signal);
}

.vxh-cat-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	border-radius: 12px;
	background: var(--aqua);
	color: var(--ink);
}

.vxh-cat-icon svg {
	width: 28px;
	height: 28px;
}

.vxh-cat-name {
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
}

.vxh-cat-count {
	color: var(--mute);
	font-family: var(--num);
	font-size: 13.5px;
}

.vxh-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

/* Steps */
.vxh-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}

.vxh-steps li {
	position: relative;
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 28px 24px 30px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
}

.vxh-step-num {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-family: var(--num);
	font-size: 20px;
	font-weight: 700;
}

.vxh-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 52px;
	left: 84px;
	right: -8px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--signal) 0 6px, transparent 6px 12px);
	opacity: 0.5;
}

.vxh-steps h3 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.vxh-steps p {
	font-size: 15px;
}

/* FAQ */
.vxh-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 64px;
	align-items: start;
}

.vxh-faq-head {
	position: sticky;
	top: 120px;
	display: grid;
	justify-items: start;
	gap: 16px;
}

.vxh-faq-head a {
	color: var(--signal);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vxh-faq-list {
	border-top: 1px solid var(--line);
}

.vxh-faq-list details {
	border-bottom: 1px solid var(--line);
}

.vxh-faq-list summary {
	position: relative;
	padding: 24px 56px 24px 0;
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}

.vxh-faq-list summary::-webkit-details-marker {
	display: none;
}

.vxh-faq-list summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border-radius: 50%;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%2318264F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.vxh-faq-list details[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--aqua);
}

.vxh-faq-list details p {
	max-width: 40em;
	padding: 0 56px 26px 0;
	font-size: 16px;
}

/* Contact panel */
.vxh-contact-sec {
	padding-inline: 16px;
}

.vxh-contact {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 40px;
	align-items: end;
	max-width: 1408px;
	margin-inline: auto;
	padding: 72px 64px;
	border-radius: 28px;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
	overflow: hidden;
}

.vxh-contact-mark {
	position: absolute;
	right: -60px;
	top: -40px;
	width: 520px;
	height: auto;
	opacity: 0.22;
	pointer-events: none;
}

.vxh-contact-copy {
	position: relative;
	display: grid;
	justify-items: start;
	gap: 20px;
}

.vxh-contact h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	line-height: 1.3;
}

.vxh-contact p:not(.vxh-pill) {
	margin: 0;
	font-size: 17px;
}

.vxh-contact-mail {
	position: relative;
	display: grid;
	gap: 6px;
	justify-self: end;
	padding: 24px 28px;
	border: 1px solid rgba(196, 231, 235, 0.25);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff !important;
	font-family: "IBM Plex Sans", var(--th);
	font-size: 20px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.18s ease;
}

.vxh-contact-mail span {
	color: var(--aqua);
	font-family: var(--th);
	font-size: 14px;
	font-weight: 500;
}

.vxh-contact-mail:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* Footer */
.vxh-foot {
	margin-top: 120px !important;
	padding: 72px 0 32px;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--th);
	font-size: 15px;
	line-height: 1.65;
}

.vxh-foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.vxh-foot-grid > * {
	display: grid;
	align-content: start;
	gap: 10px;
}

.vxh-foot p {
	margin: 0;
}

.vxh-foot a {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
}

.vxh-foot a:hover {
	color: #fff !important;
}

.vxh-foot-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 8px;
}

.vxh-foot-logo svg {
	width: 46px;
	height: 52px;
	flex: none;
}

.vxh-foot-logo img {
	display: block;
	width: auto;
	height: 52px;
	max-width: none;
}

.vxh-foot-brand p {
	max-width: 26em;
}

.vxh-foot h2 {
	margin: 0 0 6px;
	color: var(--aqua);
	font-family: var(--th);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.vxh-foot-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13.5px;
}

/* Load motion for the mark */
@media (prefers-reduced-motion: no-preference) {
	.vxh-stroke {
		stroke-dasharray: 700;
		stroke-dashoffset: 700;
		animation: vxh-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
	}

	.vxh-stroke-up {
		animation-delay: 0.25s;
	}

	.vxh-stroke-low {
		animation-delay: 0.4s;
	}
}

@keyframes vxh-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes vxh-rise {
	from {
		opacity: 0;
		translate: 0 18px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

/* Responsive */
@media (max-width: 1180px) {
	.vxh-info,
	.vxh-steps,
	.vxh-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vxh-info.is-three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vxh-steps li::after {
		display: none;
	}

	.vxh-faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.vxh-faq-head {
		position: static;
	}

	.vxh-contact {
		grid-template-columns: minmax(0, 1fr);
		padding: 56px 40px;
	}

	.vxh-contact-mail {
		justify-self: start;
	}

	.vxh-foot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.vxh-nav,
	.vxh-head-link {
		display: none;
	}

	.vxh-menu {
		display: block;
	}

	.vxh-head-in {
		justify-content: space-between;
		gap: 12px;
	}

	.vxh-head-act {
		margin-left: auto;
	}

	.vxh-info.is-three {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 782px) {
	.admin-bar .vxh-head {
		top: 46px;
	}
}

@media (max-width: 640px) {
	body.vx-ci {
		font-size: 15.5px;
	}

	.vxh-wrap {
		width: calc(100% - 32px);
	}

	.vxh-head-in {
		width: calc(100% - 32px);
		min-height: 64px;
	}

	.vxh-brand img {
		height: 34px;
	}

	.vxh-actions .vxh-btn {
		flex: 1 1 100%;
	}

	.vxh-sec {
		padding-top: 80px;
	}

	.vxh-sec-head {
		margin-bottom: 32px;
	}

	.vxh-info,
	.vxh-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.vxh-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.vxh-cat {
		padding: 14px 14px 16px;
	}

	.vxh-cat-icon {
		width: 42px;
		height: 42px;
		margin-bottom: 6px;
	}

	.vxh-cat-name {
		font-size: 14.5px;
	}

	.vxh-info-card {
		min-height: 0;
	}

	.vxh-info-card h3 {
		margin-top: 20px;
	}

	.vxh-faq-list summary {
		font-size: 16.5px;
		padding-right: 48px;
	}

	.vxh-faq-list details p {
		padding-right: 0;
	}

	.vxh-contact-sec {
		padding-inline: 10px;
	}

	.vxh-contact {
		padding: 40px 22px;
		border-radius: 22px;
	}

	.vxh-contact-mail {
		font-size: 17px;
		justify-self: stretch;
	}

	.vxh-foot {
		margin-top: 80px !important;
	}

	.vxh-foot-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}
