/**
 * MiMusE Brand Preset — ThaiKK / Radios Visual Parity
 * Version: 1.1.0
 *
 * PASS 1:
 * Header + Navigation + Hero
 */

:root {
	/* --------------------------------------------------
	   ThaiKK Brand
	-------------------------------------------------- */

	--mimuse-brand-primary: #b21f24;
	--mimuse-brand-primary-hover: #95181c;
	--mimuse-brand-secondary: #111111;

	--mimuse-on-primary: #ffffff;
	--mimuse-on-secondary: #ffffff;

	--mimuse-text: #171717;
	--mimuse-muted: #68707d;
	--mimuse-border: #e5e5e5;

	--mimuse-background: #ffffff;
	--mimuse-surface: #ffffff;
	--mimuse-surface-soft: #f7f7f7;
	--mimuse-surface-muted: #f3f3f3;

	--mimuse-font-body:
		Arial,
		Tahoma,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;

	--mimuse-font-heading: var(--mimuse-font-body);

	--mimuse-container: 1420px;

	--mimuse-radius-sm: 2px;
	--mimuse-radius-md: 4px;
	--mimuse-radius-lg: 6px;

	--mimuse-action: var(--mimuse-brand-primary);
	--mimuse-action-hover: var(--mimuse-brand-primary-hover);
	--mimuse-action-text: var(--mimuse-on-primary);

	--mimuse-price: var(--mimuse-text);
}


/* --------------------------------------------------
   Global ThaiKK Density
-------------------------------------------------- */

body {
	font-family: var(--mimuse-font-body);
	background: #fff;
	color: var(--mimuse-text);
}

.mimuse-thaikk-container {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);
	margin-inline: auto;
}

.mimuse-thaikk-home.site-main {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);
	padding-top: 46px;
	padding-bottom: 56px;
}


/* --------------------------------------------------
   Header Shell
-------------------------------------------------- */

.mimuse-header--thaikk {
	border-bottom: 0;
	background: #fff;
}

.mimuse-header--thaikk .mimuse-header__inner {
	display: none;
}


/* --------------------------------------------------
   Top Bar
-------------------------------------------------- */

.mimuse-thaikk-topbar {
	font-size: 13px;
	color: var(--mimuse-muted);
}

.mimuse-thaikk-topbar__inner {
	min-height: 40px;
	display: flex;
	align-items: center;
	gap: 9px;
	border-bottom: 1px solid var(--mimuse-border);
}

.mimuse-thaikk-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.mimuse-thaikk-topbar__item > span:first-child {
	color: var(--mimuse-brand-primary);
	font-size: 7px;
}

.mimuse-thaikk-topbar__separator {
	color: #c7c7c7;
}


/* --------------------------------------------------
   Main Header
-------------------------------------------------- */

.mimuse-thaikk-mainhead__inner {
	min-height: 184px;
	display: grid;
	grid-template-columns:
		minmax(180px, .9fr)
		minmax(170px, .7fr)
		minmax(420px, 1.65fr)
		80px;
	align-items: center;
	gap: 34px;
}

.mimuse-thaikk-mainhead__brand .custom-logo-link {
	display: inline-block;
}

.mimuse-thaikk-mainhead__brand .custom-logo {
	width: auto;
	max-width: 170px;
	max-height: 120px;
	object-fit: contain;
}

.mimuse-thaikk-mainhead__site-title {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
	font-weight: 800;
	line-height: 1;
}

.mimuse-thaikk-mainhead__mark {
	color: var(--mimuse-brand-primary);
	font-size: 54px;
	font-style: italic;
	letter-spacing: -.08em;
}

.mimuse-thaikk-mainhead__date {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--mimuse-muted);
	font-size: 13px;
	white-space: nowrap;
}

.mimuse-thaikk-mainhead__date > span {
	color: var(--mimuse-brand-primary);
}

.mimuse-thaikk-mainhead__promo {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 0 24px;
	background:
		linear-gradient(
			90deg,
			#060606 0%,
			#111 60%,
			#090909 100%
		);
	color: #fff;
}

.mimuse-thaikk-mainhead__promo-button {
	flex: 0 0 auto;
	padding: 8px 25px;
	border-radius: 999px;
	background: var(--mimuse-brand-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.mimuse-thaikk-mainhead__promo strong {
	margin-left: auto;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .03em;
}

.mimuse-thaikk-mainhead__social {
	justify-self: end;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}


/* --------------------------------------------------
   Navigation
-------------------------------------------------- */

.mimuse-thaikk-navwrap {
	background: #fff;
}

.mimuse-thaikk-nav {
	min-height: 72px;
	display: grid;
	grid-template-columns:
		230px
		minmax(360px, 1fr)
		220px
		auto
		auto;
	align-items: center;
	gap: 24px;
}

.mimuse-thaikk-category-nav {
	position: relative;
}

.mimuse-thaikk-category-nav > summary {
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0 18px;
	border-radius: 2px;
	background: var(--mimuse-brand-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.mimuse-thaikk-category-nav > summary::-webkit-details-marker {
	display: none;
}

.mimuse-thaikk-category-nav > ul {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 300;
	width: 100%;
	margin: 0;
	padding: 8px 0;
	border: 1px solid var(--mimuse-border);
	background: #fff;
	box-shadow: 0 14px 34px rgba(0,0,0,.08);
	list-style: none;
}

.mimuse-thaikk-category-nav li + li {
	border-top: 1px solid #f0f0f0;
}

.mimuse-thaikk-category-nav a {
	display: block;
	padding: 10px 16px;
	text-decoration: none;
	font-size: 14px;
}

.mimuse-thaikk-category-nav a:hover {
	color: var(--mimuse-brand-primary);
}

.mimuse-thaikk-primary-nav__menu {
	display: flex;
	align-items: center;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mimuse-thaikk-primary-nav__menu a {
	display: block;
	color: #3f4754;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.mimuse-thaikk-primary-nav__menu a:hover,
.mimuse-thaikk-primary-nav__menu .current-menu-item > a {
	color: var(--mimuse-brand-primary);
}

.mimuse-thaikk-search {
	height: 44px;
	display: flex;
	align-items: center;
	border: 1px solid var(--mimuse-border);
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
}

.mimuse-thaikk-search input {
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0 4px 0 16px;
	border: 0;
	outline: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
}

.mimuse-thaikk-search button {
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	font-size: 20px;
	cursor: pointer;
}

.mimuse-thaikk-commerce {
	display: flex;
	align-items: center;
	gap: 5px;
}

.mimuse-thaikk-commerce .mimuse-commerce-action {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.mimuse-thaikk-commerce .mimuse-commerce-action:hover {
	color: var(--mimuse-brand-primary);
	background: transparent;
}

.mimuse-thaikk-mobile-toggle {
	display: none;
}


/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.mimuse-thaikk-hero {
	min-height: 500px;
	display: grid;
	grid-template-columns:
		minmax(310px, .82fr)
		minmax(420px, 1.25fr)
		minmax(270px, .7fr);
	align-items: center;
	gap: 24px;
	padding: 34px 36px 20px;
	background: #fff;
}

.mimuse-thaikk-hero__copy {
	padding-left: 10px;
}

.mimuse-thaikk-hero__eyebrow {
	margin: 0 0 14px;
	color: #111;
	font-size: clamp(26px, 2.1vw, 38px);
	line-height: 1.1;
	letter-spacing: .05em;
}

.mimuse-thaikk-hero h1 {
	margin: 0;
	color: #111;
	font-family: var(--mimuse-font-heading);
	font-size: clamp(34px, 3.1vw, 54px);
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -.025em;
}

.mimuse-thaikk-hero__lead {
	max-width: 410px;
	margin: 18px 0 0;
	color: var(--mimuse-brand-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.75;
}

.mimuse-thaikk-hero__shop {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.mimuse-thaikk-hero__shop:hover {
	color: var(--mimuse-brand-primary);
}

.mimuse-thaikk-hero__visual {
	min-height: 430px;
	display: grid;
	place-items: center;
}

.mimuse-thaikk-hero__product-image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.mimuse-thaikk-hero__product-image img {
	width: min(100%, 610px);
	max-height: 430px;
	object-fit: contain;
}

.mimuse-thaikk-hero__placeholder {
	width: 100%;
	min-height: 360px;
	display: grid;
	place-items: center;
	background: #fafafa;
	color: #aaa;
}

.mimuse-thaikk-top-product {
	align-self: center;
	min-height: 360px;
	padding: 26px;
	border: 2px solid var(--mimuse-brand-primary);
	background: #fff;
}

.mimuse-thaikk-top-product__heading {
	position: relative;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--mimuse-border);
	font-size: 18px;
}

.mimuse-thaikk-top-product__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 96px;
	height: 2px;
	background: var(--mimuse-brand-primary);
}

.mimuse-thaikk-top-product__body {
	min-height: 285px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
}

.mimuse-thaikk-top-product__body img {
	width: 180px;
	height: 150px;
	object-fit: contain;
	margin-bottom: 20px;
}

.mimuse-thaikk-top-product__body strong {
	max-width: 220px;
	font-size: 16px;
	line-height: 1.55;
}

.mimuse-thaikk-top-product__body > span {
	margin-top: 8px;
	color: var(--mimuse-brand-primary);
	font-weight: 700;
}

.mimuse-thaikk-top-product__empty {
	min-height: 280px;
	display: grid;
	place-items: center;
	color: var(--mimuse-muted);
	font-size: 14px;
}

.mimuse-thaikk-hero-thumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 116px;
}

.mimuse-thaikk-hero-thumb {
	width: 98px;
	height: 78px;
	display: grid;
	place-items: center;
	border: 1px solid transparent;
	background: #fff;
}

.mimuse-thaikk-hero-thumb.is-active {
	border-color: var(--mimuse-brand-primary);
}

.mimuse-thaikk-hero-thumb img {
	width: 80px;
	height: 64px;
	object-fit: contain;
}


/* --------------------------------------------------
   Temporary Pass Marker
-------------------------------------------------- */

.mimuse-thaikk-pass-marker {
	margin-top: 42px;
	padding: 20px 24px;
	border-top: 1px solid var(--mimuse-border);
	border-bottom: 1px solid var(--mimuse-border);
}

.mimuse-thaikk-pass-marker > div {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mimuse-thaikk-pass-marker span {
	color: var(--mimuse-brand-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}

.mimuse-thaikk-pass-marker p {
	margin: 6px 0 0;
	color: var(--mimuse-muted);
	font-size: 13px;
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 1180px) {

	.mimuse-thaikk-mainhead__inner {
		grid-template-columns:
			170px
			1fr
			minmax(360px, 1.5fr);
	}

	.mimuse-thaikk-mainhead__social {
		display: none;
	}

	.mimuse-thaikk-nav {
		grid-template-columns:
			210px
			1fr
			210px
			auto;
		gap: 16px;
	}

	.mimuse-thaikk-primary-nav__menu {
		gap: 22px;
	}

	.mimuse-thaikk-hero {
		grid-template-columns:
			minmax(280px, .8fr)
			minmax(390px, 1.2fr);
	}

	.mimuse-thaikk-top-product {
		display: none;
	}

}


@media (max-width: 900px) {

	.mimuse-thaikk-topbar {
		display: none;
	}

	.mimuse-thaikk-mainhead__inner {
		min-height: 92px;
		grid-template-columns: 150px 1fr;
	}

	.mimuse-thaikk-mainhead__date {
		display: none;
	}

	.mimuse-thaikk-mainhead__promo {
		min-height: 44px;
	}

	.mimuse-thaikk-nav {
		min-height: 62px;
		grid-template-columns: 1fr auto auto;
	}

	.mimuse-thaikk-category-nav {
		display: none;
	}

	.mimuse-thaikk-primary-nav {
		display: none;
	}

	.mimuse-thaikk-search {
		max-width: 420px;
	}

	.mimuse-thaikk-mobile-toggle {
		display: block;
	}

	.mimuse-thaikk-hero {
		grid-template-columns: 1fr;
		padding-inline: 18px;
	}

	.mimuse-thaikk-hero__copy {
		padding-left: 0;
		text-align: center;
	}

	.mimuse-thaikk-hero__lead {
		margin-inline: auto;
	}

	.mimuse-thaikk-hero__visual {
		min-height: 320px;
	}

	.mimuse-thaikk-hero__product-image img {
		max-height: 320px;
	}

}


@media (max-width: 640px) {

	.mimuse-thaikk-container,
	.mimuse-thaikk-home.site-main {
		width: min(
			calc(100% - 24px),
			var(--mimuse-container)
		);
	}

	.mimuse-thaikk-mainhead__inner {
		grid-template-columns: 120px 1fr;
		gap: 14px;
	}

	.mimuse-thaikk-mainhead__brand .custom-logo {
		max-width: 112px;
		max-height: 70px;
	}

	.mimuse-thaikk-mainhead__promo {
		padding: 0 12px;
	}

	.mimuse-thaikk-mainhead__promo-button {
		display: none;
	}

	.mimuse-thaikk-mainhead__promo strong {
		margin: 0;
		font-size: 11px;
	}

	.mimuse-thaikk-nav {
		grid-template-columns: 1fr auto;
	}

	.mimuse-thaikk-search {
		display: none;
	}

	.mimuse-thaikk-commerce {
		justify-self: end;
	}

	.mimuse-thaikk-hero {
		min-height: auto;
		padding-top: 20px;
	}

	.mimuse-thaikk-hero__eyebrow {
		font-size: 22px;
	}

	.mimuse-thaikk-hero h1 {
		font-size: 34px;
	}

	.mimuse-thaikk-hero__visual {
		min-height: 260px;
	}

	.mimuse-thaikk-hero__product-image img {
		max-height: 250px;
	}

	.mimuse-thaikk-hero-thumbs {
		gap: 10px;
		overflow-x: auto;
		justify-content: flex-start;
		padding: 0 4px;
	}

	.mimuse-thaikk-pass-marker > div {
		display: block;
	}

	.mimuse-thaikk-pass-marker strong {
		display: block;
		margin-top: 4px;
	}

}


/* ==================================================
   Header Brand Assets — v1.2
================================================== */

.mimuse-thaikk-mainhead__promo--image {
	min-height: 52px;
	padding: 0;
	overflow: hidden;
	background: transparent;
	text-decoration: none;
}

.mimuse-thaikk-mainhead__promo-image {
	display: block;
	width: 100%;
	height: 52px;
	object-fit: cover;
	object-position: center;
}

.mimuse-thaikk-mainhead__social {
	cursor: default;
}

a.mimuse-thaikk-mainhead__social {
	cursor: pointer;
}


/* ==================================================
   ThaiKK Footer
================================================== */

.site-footer.mimuse-thaikk-footer {
	margin-top: 0;
	border-top: 0;
	background: #050505;
	color: #8c96a4;
}

.mimuse-thaikk-footer__inner {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);

	min-height: 430px;
	display: grid;
	grid-template-columns:
		minmax(300px, 1.35fr)
		minmax(180px, .8fr)
		minmax(180px, .8fr)
		minmax(180px, .8fr);
	gap: 72px;
	align-items: start;

	margin-inline: auto;
	padding: 92px 44px 72px;
}

.mimuse-thaikk-footer__brand {
	min-width: 0;
}

.mimuse-thaikk-footer__logo {
	width: 110px;
	height: 110px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
}

.mimuse-thaikk-footer__logo .custom-logo-link {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.mimuse-thaikk-footer__logo .custom-logo {
	width: 82px;
	height: 82px;
	object-fit: contain;
}

.mimuse-thaikk-footer__fallback-logo {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--mimuse-brand-primary);
	font-size: 34px;
	font-style: italic;
	font-weight: 900;
	text-decoration: none;
}

.mimuse-thaikk-footer__contact {
	margin-top: 52px;
}

.mimuse-thaikk-footer__contact-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 16px;
	color: #7f8da1;
	font-size: 14px;
	line-height: 1.65;
	text-decoration: none;
}

a.mimuse-thaikk-footer__contact-row:hover {
	color: #fff;
}

.mimuse-thaikk-footer__contact-icon {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mimuse-brand-primary);
	color: #fff;
	font-size: 7px;
}

.mimuse-thaikk-footer__column h2 {
	margin: 0 0 30px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}

.mimuse-thaikk-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mimuse-thaikk-footer__menu li {
	margin: 0 0 16px;
}

.mimuse-thaikk-footer__menu a {
	color: #8c96a4;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
}

.mimuse-thaikk-footer__menu a:hover {
	color: #fff;
}

.mimuse-thaikk-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.08);
}

.mimuse-thaikk-footer__bottom .mimuse-thaikk-container {
	min-height: 62px;
	display: flex;
	align-items: center;
	color: #5f6875;
	font-size: 12px;
}


/* --------------------------------------------------
   Footer Responsive
-------------------------------------------------- */

@media (max-width: 1180px) {

	.mimuse-thaikk-footer__inner {
		grid-template-columns:
			minmax(280px, 1.2fr)
			repeat(3, minmax(150px, .8fr));
		gap: 38px;
		padding-inline: 20px;
	}

}


@media (max-width: 900px) {

	.mimuse-thaikk-footer__inner {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
		gap: 54px 34px;
		padding-top: 66px;
	}

	.mimuse-thaikk-footer__brand {
		grid-column: 1 / -1;
	}

	.mimuse-thaikk-footer__contact {
		max-width: 520px;
		margin-top: 32px;
	}

}


@media (max-width: 640px) {

	.mimuse-thaikk-mainhead__promo--image {
		min-height: 44px;
	}

	.mimuse-thaikk-mainhead__promo-image {
		height: 44px;
	}

	.mimuse-thaikk-footer__inner {
		width: min(
			calc(100% - 24px),
			var(--mimuse-container)
		);

		grid-template-columns: 1fr;
		gap: 42px;
		padding: 56px 0 46px;
	}

	.mimuse-thaikk-footer__brand {
		grid-column: auto;
	}

	.mimuse-thaikk-footer__logo {
		width: 92px;
		height: 92px;
	}

	.mimuse-thaikk-footer__logo .custom-logo {
		width: 70px;
		height: 70px;
	}

	.mimuse-thaikk-footer__column h2 {
		margin-bottom: 22px;
		font-size: 19px;
	}

}


/* --------------------------------------------------
   MiMusE v4.0.4 — Header layout when Date is OFF
   The original ThaiKK header grid has four columns:
   Logo / Date / Promo / Social.
   When the date is hidden, switch to a real three-column grid
   so the Promo does not collapse into the old Date column.
-------------------------------------------------- */

.mimuse-thaikk-mainhead__inner--no-date {
	grid-template-columns:
		minmax(180px, 310px)
		minmax(520px, 680px)
		1fr;
}

.mimuse-thaikk-mainhead__inner--no-date
.mimuse-thaikk-mainhead__promo {
	width: 100%;
	min-width: 0;
}

.mimuse-thaikk-mainhead__inner--no-date
.mimuse-thaikk-mainhead__promo strong {
	white-space: nowrap;
}

@media (max-width: 900px) {

	.mimuse-thaikk-mainhead__inner--no-date {
		grid-template-columns:
			150px
			minmax(0, 1fr)
			auto;
		gap: 20px;
	}

	.mimuse-thaikk-mainhead__inner--no-date
	.mimuse-thaikk-mainhead__promo strong {
		white-space: normal;
	}

}

@media (max-width: 640px) {

	.mimuse-thaikk-mainhead__inner--no-date {
		grid-template-columns:
			120px
			minmax(0, 1fr)
			auto;
		gap: 14px;
	}

}


/* ==================================================
   MiMusE 0.24.0 — Global Header Responsive Polish
   Mobile-only visual refinement.
   Desktop header remains unchanged.
================================================== */

/* Tablet: keep the no-date header balanced without wasting a grid track. */
@media (max-width: 900px) {

	.mimuse-thaikk-mainhead__inner,
	.mimuse-thaikk-mainhead__inner--no-date {
		min-height: 86px;
		grid-template-columns:
			132px
			minmax(0, 1fr) !important;
		gap: 16px;
		align-items: center;
	}

	/* Social is already non-essential on tablet/mobile. */
	.mimuse-thaikk-mainhead__social {
		display: none !important;
	}

	.mimuse-thaikk-mainhead__promo {
		width: 100%;
		min-width: 0;
	}

	.mimuse-thaikk-nav {
		min-height: 58px;
		gap: 14px;
	}

}


/* Common phones */
@media (max-width: 640px) {

	.mimuse-thaikk-container {
		width: min(
			calc(100% - 24px),
			var(--mimuse-container)
		);
	}

	/*
	 * Two real columns only:
	 * Logo + Promo.
	 * The old hidden Social column no longer reserves mobile space.
	 */
	.mimuse-thaikk-mainhead__inner,
	.mimuse-thaikk-mainhead__inner--no-date {
		min-height: 78px;
		grid-template-columns:
			104px
			minmax(0, 1fr) !important;
		gap: 12px;
	}

	.mimuse-thaikk-mainhead__brand {
		min-width: 0;
	}

	.mimuse-thaikk-mainhead__brand .custom-logo-link {
		display: flex;
		align-items: center;
	}

	.mimuse-thaikk-mainhead__brand .custom-logo {
		display: block;
		width: auto;
		max-width: 98px;
		max-height: 64px;
		object-fit: contain;
		object-position: left center;
	}

	.mimuse-thaikk-mainhead__promo,
	.mimuse-thaikk-mainhead__promo--image {
		min-width: 0;
		min-height: 44px;
		height: 44px;
		padding: 0 12px;
		border-radius: 0;
		overflow: hidden;
	}

	.mimuse-thaikk-mainhead__promo--image {
		padding: 0;
	}

	.mimuse-thaikk-mainhead__promo-image {
		width: 100%;
		height: 44px;
		object-fit: cover;
		object-position: center;
	}

	.mimuse-thaikk-mainhead__promo-button {
		display: none !important;
	}

	/*
	 * Keep the ThaiKK promo on one line when text mode is used.
	 * The available column is wider now because the dead Social track is gone.
	 */
	.mimuse-thaikk-mainhead__promo strong,
	.mimuse-thaikk-mainhead__inner--no-date
	.mimuse-thaikk-mainhead__promo strong {
		display: block;
		width: 100%;
		margin: 0;
		overflow: hidden;
		color: #fff;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: .015em;
		text-align: center;
		white-space: nowrap;
		text-overflow: clip;
	}

	/* Commerce row + hamburger */
	.mimuse-thaikk-nav {
		min-height: 54px;
		grid-template-columns: 1fr auto;
		gap: 10px;
		align-items: center;
	}

	.mimuse-thaikk-commerce {
		justify-self: end;
		gap: 2px;
	}

	.mimuse-thaikk-commerce .mimuse-commerce-action {
		width: 36px;
		height: 36px;
		display: grid;
		place-items: center;
	}

	.mimuse-thaikk-commerce .mimuse-commerce-action svg {
		width: 18px;
		height: 18px;
	}

	.mimuse-thaikk-commerce .mimuse-cart-count {
		top: -5px;
		right: -4px;
		min-width: 17px;
		height: 17px;
		padding-inline: 4px;
		font-size: 10px;
	}

	.mimuse-thaikk-mobile-toggle {
		display: block;
		width: 42px;
		height: 42px;
		padding: 9px;
		margin: 0;
		border-radius: 6px;
	}

	/* Mobile dropdown menu should feel like part of the same header. */
	.mimuse-header--thaikk .mimuse-mobile-nav {
		border-top: 1px solid var(--mimuse-border);
		border-bottom: 1px solid var(--mimuse-border);
		background: #fff;
		box-shadow: 0 12px 28px rgba(0,0,0,.05);
	}

	.mimuse-header--thaikk .mimuse-mobile-nav__menu {
		width: min(
			calc(100% - 24px),
			var(--mimuse-container)
		);
		margin-inline: auto;
		padding: 6px 0 12px;
	}

	.mimuse-header--thaikk .mimuse-mobile-nav__menu a {
		padding: 13px 4px;
		color: var(--mimuse-text);
		font-size: 14px;
		font-weight: 600;
	}

	.mimuse-header--thaikk .mimuse-mobile-nav__menu a:hover,
	.mimuse-header--thaikk .mimuse-mobile-nav__menu .current-menu-item > a {
		color: var(--mimuse-brand-primary);
	}

}


/* 390 / 375px phones */
@media (max-width: 420px) {

	.mimuse-thaikk-mainhead__inner,
	.mimuse-thaikk-mainhead__inner--no-date {
		min-height: 76px;
		grid-template-columns:
			96px
			minmax(0, 1fr) !important;
		gap: 10px;
	}

	.mimuse-thaikk-mainhead__brand .custom-logo {
		max-width: 92px;
		max-height: 60px;
	}

	.mimuse-thaikk-mainhead__promo,
	.mimuse-thaikk-mainhead__promo--image,
	.mimuse-thaikk-mainhead__promo-image {
		height: 44px;
		min-height: 44px;
	}

	.mimuse-thaikk-mainhead__promo {
		padding-inline: 9px;
	}

	.mimuse-thaikk-mainhead__promo strong,
	.mimuse-thaikk-mainhead__inner--no-date
	.mimuse-thaikk-mainhead__promo strong {
		font-size: 9.5px;
		letter-spacing: 0;
	}

	.mimuse-thaikk-nav {
		min-height: 52px;
		gap: 8px;
	}

	.mimuse-thaikk-commerce .mimuse-commerce-action {
		width: 34px;
		height: 34px;
	}

}


/* Very narrow legacy phones: preserve content rather than overflow. */
@media (max-width: 359px) {

	.mimuse-thaikk-mainhead__inner,
	.mimuse-thaikk-mainhead__inner--no-date {
		grid-template-columns:
			86px
			minmax(0, 1fr) !important;
		gap: 8px;
	}

	.mimuse-thaikk-mainhead__brand .custom-logo {
		max-width: 82px;
	}

	.mimuse-thaikk-mainhead__promo strong,
	.mimuse-thaikk-mainhead__inner--no-date
	.mimuse-thaikk-mainhead__promo strong {
		font-size: 8.5px;
	}

	.mimuse-thaikk-commerce {
		gap: 0;
	}

	.mimuse-thaikk-commerce .mimuse-commerce-action {
		width: 32px;
		height: 32px;
	}

}


/* ==================================================
   MiMusE 0.25.0 — Final Typography / Font Pass
   Thai-first system font stack. No external font/CDN dependency.
================================================== */

:root {
	/*
	 * Central font tokens.
	 * Rebranding later only requires changing these values.
	 *
	 * Windows Thai: Leelawadee UI
	 * Cross-platform Thai: Noto Sans Thai when installed
	 * Safe fallback: Tahoma / Segoe UI / Arial
	 */
	--mimuse-font-body:
		"Leelawadee UI",
		"Noto Sans Thai",
		Tahoma,
		"Segoe UI",
		Arial,
		sans-serif;

	--mimuse-font-heading: var(--mimuse-font-body);

	--mimuse-font-weight-regular: 400;
	--mimuse-font-weight-medium: 500;
	--mimuse-font-weight-semibold: 600;
	--mimuse-font-weight-bold: 700;

	--mimuse-line-height-tight: 1.28;
	--mimuse-line-height-body: 1.62;
	--mimuse-line-height-relaxed: 1.75;
}

/* --------------------------------------------------
   Global type inheritance
-------------------------------------------------- */

html,
body {
	font-family: var(--mimuse-font-body);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
	font-family: var(--mimuse-font-body) !important;
}

button,
input,
select,
textarea {
	font-size: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.woocommerce-loop-product__title,
.product_title,
.mimuse-el-heading,
.elementor-heading-title {
	font-family: var(--mimuse-font-heading) !important;
}

/*
 * Thai glyphs need a little more vertical room than the old Arial-first stack.
 * Keep sizes intact; only normalize rhythm.
 */
h1,
.page-title,
.entry-title,
.product_title {
	line-height: 1.28;
	letter-spacing: -0.01em;
}

h2,
h3,
h4,
h5,
h6 {
	line-height: 1.35;
	letter-spacing: 0;
}

p,
li,
td,
th,
label,
small,
.woocommerce,
.wc-block-components-product-name {
	line-height: var(--mimuse-line-height-body);
}

/* --------------------------------------------------
   Header / Navigation typography
-------------------------------------------------- */

.mimuse-thaikk-topbar,
.mimuse-thaikk-primary-nav__menu a,
.mimuse-thaikk-category-nav a,
.mimuse-thaikk-search input,
.mimuse-thaikk-commerce,
.mimuse-thaikk-mobile-nav__menu a {
	font-family: var(--mimuse-font-body) !important;
}

.mimuse-thaikk-primary-nav__menu a,
.mimuse-thaikk-mobile-nav__menu a {
	font-weight: var(--mimuse-font-weight-semibold);
}

.mimuse-thaikk-mainhead__promo strong,
.mimuse-thaikk-mainhead__inner--no-date
.mimuse-thaikk-mainhead__promo strong {
	font-family: var(--mimuse-font-body) !important;
	font-weight: var(--mimuse-font-weight-bold);
}

/* --------------------------------------------------
   Elementor / Home
-------------------------------------------------- */

.mimuse-elementor-page {
	--e-global-typography-primary-font-family: var(--mimuse-font-heading);
	--e-global-typography-text-font-family: var(--mimuse-font-body);
}

.mimuse-elementor-page,
.mimuse-elementor-page button,
.mimuse-elementor-page input,
.mimuse-elementor-page select,
.mimuse-elementor-page textarea,
.mimuse-el-product-card,
.mimuse-el-heading {
	font-family: var(--mimuse-font-body) !important;
}

/* Headings keep the approved sizes; only improve Thai readability. */
.mimuse-elementor-page .elementor-heading-title,
.mimuse-el-heading {
	line-height: 1.35;
}

/* --------------------------------------------------
   WooCommerce: Shop / Product / Cart
-------------------------------------------------- */

.woocommerce,
.woocommerce button,
.woocommerce input,
.woocommerce select,
.woocommerce textarea,
.wc-block-cart,
.wc-block-cart button,
.wc-block-cart input,
.wc-block-cart select,
.wc-block-components-sidebar {
	font-family: var(--mimuse-font-body) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.mimuse-single-product-page .summary .product_title,
.wc-block-components-product-name {
	font-family: var(--mimuse-font-heading) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.42 !important;
}

.mimuse-single-product-page .summary .product_title {
	line-height: 1.26 !important;
}

.mimuse-single-product-page .woocommerce-product-details__short-description,
.mimuse-single-product-page .product_meta,
.mimuse-single-product-page .woocommerce-Tabs-panel {
	line-height: var(--mimuse-line-height-body);
}

.wc-block-components-product-name {
	line-height: 1.4 !important;
}

/* --------------------------------------------------
   Buttons / actionable labels
-------------------------------------------------- */

.button,
button,
input[type="button"],
input[type="submit"],
.mimuse-thaikk-button,
.mimuse-el-product-action,
.mimuse-single-product-page .single_add_to_cart_button,
body.woocommerce-cart .wc-block-cart__submit-button {
	font-family: var(--mimuse-font-body) !important;
	font-weight: var(--mimuse-font-weight-semibold);
}

/* --------------------------------------------------
   Mobile optical tuning
-------------------------------------------------- */

@media (max-width: 640px) {

	body {
		font-size: 15px;
	}

	.mimuse-thaikk-topbar {
		font-size: 12px;
	}

	.mimuse-thaikk-mobile-nav__menu a {
		line-height: 1.35;
	}

	.mimuse-elementor-page .elementor-heading-title,
	.mimuse-el-heading,
	.woocommerce-loop-product__title,
	.wc-block-components-product-name {
		overflow-wrap: break-word;
		word-break: normal;
	}

	/*
	 * Keep the already-approved one-line mobile promo.
	 * Only improve glyph rendering; don't enlarge it and risk wrapping.
	 */
	.mimuse-thaikk-mainhead__promo strong,
	.mimuse-thaikk-mainhead__inner--no-date
	.mimuse-thaikk-mainhead__promo strong {
		line-height: 1.1;
	}

}


/* ==================================================
   MiMusE 0.25.1 — Dual Thai Typography
   Prompt for brand/UI + looped Thai font for reading.
================================================== */

:root {
	/* Modern / loopless brand face */
	--mimuse-font-ui:
		"Prompt",
		"Leelawadee UI",
		Tahoma,
		"Segoe UI",
		Arial,
		sans-serif;

	/* Looped Thai face for longer reading content */
	--mimuse-font-reading:
		"Noto Sans Thai Looped",
		"Leelawadee UI",
		Tahoma,
		"Segoe UI",
		Arial,
		sans-serif;

	--mimuse-font-heading: var(--mimuse-font-ui);
	--mimuse-font-body: var(--mimuse-font-reading);
}

/* --------------------------------------------------
   PROMPT — brand / navigation / interface
-------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.product_title,
.woocommerce-loop-product__title,
.mimuse-el-heading,
.elementor-heading-title,
.mimuse-thaikk-primary-nav__menu,
.mimuse-thaikk-primary-nav__menu a,
.mimuse-thaikk-mobile-nav__menu,
.mimuse-thaikk-mobile-nav__menu a,
.mimuse-thaikk-category-nav,
.mimuse-thaikk-category-nav a,
.mimuse-thaikk-mainhead__promo,
.mimuse-thaikk-mainhead__promo strong,
.mimuse-thaikk-search,
.mimuse-thaikk-commerce,
button,
.button,
input[type="button"],
input[type="submit"],
select,
.mimuse-thaikk-button,
.mimuse-el-product-action,
.mimuse-single-product-page .single_add_to_cart_button,
body.woocommerce-cart .wc-block-cart__submit-button {
	font-family: var(--mimuse-font-ui) !important;
}

/* Prices / totals are UI information, so keep them crisp in Prompt too. */
.price,
.amount,
.wc-block-components-formatted-money-amount,
.wc-block-components-totals-item__value {
	font-family: var(--mimuse-font-ui) !important;
}

/* --------------------------------------------------
   LOOPED THAI — reading / explanatory content
-------------------------------------------------- */

body,
p,
li,
td,
th,
label,
small,
textarea,
.woocommerce-product-details__short-description,
.mimuse-single-product-page .woocommerce-Tabs-panel,
.mimuse-single-product-page .product_meta,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.wc-block-components-product-metadata,
.wc-block-components-product-details,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	font-family: var(--mimuse-font-reading) !important;
}

/*
 * Product names are short scanning content, not paragraphs:
 * keep Prompt so Shop / Product / Cart feel visually consistent.
 */
.wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name {
	font-family: var(--mimuse-font-ui) !important;
}

/* Elementor bridge: headings = Prompt, normal text = looped. */
.mimuse-elementor-page {
	--e-global-typography-primary-font-family: var(--mimuse-font-ui);
	--e-global-typography-text-font-family: var(--mimuse-font-reading);
}

/* Reading rhythm */
p,
.elementor-widget-text-editor,
.woocommerce-product-details__short-description,
.mimuse-single-product-page .woocommerce-Tabs-panel {
	line-height: 1.72;
}

/* UI rhythm */
button,
.button,
select,
.mimuse-thaikk-primary-nav__menu a,
.mimuse-thaikk-mobile-nav__menu a {
	line-height: 1.25;
}

/* Mobile: keep both families readable without changing approved geometry. */
@media (max-width: 640px) {

	p,
	.elementor-widget-text-editor,
	.woocommerce-product-details__short-description,
	.mimuse-single-product-page .woocommerce-Tabs-panel {
		line-height: 1.68;
	}

}
