body {
	background: #f4f7fb;
	font-family: Arial, sans-serif;
}

.kiosk-bg {
	min-height: 100vh;
	padding-bottom: 120px !important;
}

.search-box {
	max-width: 360px;
}

.product-card {
	transition: 0.25s ease;
}

.product-card:hover {
	transform: translateY(-4px);
}

.product-image {
	width: 100%;
	height: 220px;
	object-fit: contain;
	background: #ffffff;
	border-radius: 24px;
	padding: 12px;
}

.product-title {
	min-height: 68px;
	font-size: 22px;
}

.qty-btn {
	width: 70px;
	height: 60px;
	font-size: 28px;
	font-weight: bold;
}

.qty-display {
	min-width: 60px;
	text-align: center;
}

.checkout-bar {
	position: fixed;
	left: 24px;
	right: 24px;
	bottom: 20px;
	z-index: 50;

	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 15px 40px rgba(15, 23, 42, 0.18);

	padding: 22px 28px;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.checkout-item {
	border-bottom: 1px solid #e2e8f0;
	padding: 18px 0;
}

.checkout-image {
	width: 90px;
	height: 90px;
	object-fit: contain;
	background: #ffffff;
	border-radius: 18px;
	padding: 8px;
	border: 1px solid #e2e8f0;
}

.cart-item {
	border-bottom: 1px solid #e2e8f0;
	padding: 16px 0;
}

.payment-box,
.summary-box {
	background: #f8fafc;
	border-radius: 30px;
	padding: 40px;
	height: 100%;
}

.qr-box {
	width: 280px;
	height: 280px;
	border: 4px dashed #cbd5e1;
	border-radius: 25px;
	background: white;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 110px;
}

.pickup-code {
	font-size: 72px;
	font-weight: bold;
	color: #0d6efd;
	letter-spacing: 12px;
}

.success-page {
	min-height: 100vh;
	background: #f4f7fb;

	display: flex;
	align-items: center;
	justify-content: center;
}

.success-card {
	width: 720px;
}

@media (max-width: 768px) {
	.checkout-bar {
		left: 10px;
		right: 10px;
		bottom: 10px;
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.search-box {
		max-width: 100%;
	}
}

/* 23.6-inch kiosk screen optimization
   Target: portrait or landscape kiosk display, touch-first spacing. */

.splash-page {
	min-height: 100vh;
	background:
		radial-gradient(circle at top left, rgba(13, 110, 253, 0.16), transparent 34%),
		radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.16), transparent 34%),
		#f4f7fb;

	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

.splash-card {
	width: min(100%, 980px);
	min-height: 78vh;
	background: #ffffff;
	border-radius: 42px;
	padding: 64px;
	text-align: center;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.system-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	margin: 0 auto;
	padding: 12px 24px;
	border-radius: 999px;
	background: #e8fff1;
	color: #198754;
	font-weight: 700;
	font-size: 20px;
}

.status-dot {
	width: 14px;
	height: 14px;
	background: #198754;
	border-radius: 999px;
	display: inline-block;
}

.splash-title {
	font-size: clamp(56px, 7vw, 96px);
	font-weight: 900;
	color: #0d6efd;
	line-height: 1;
	margin-bottom: 18px;
}

.splash-subtitle {
	font-size: clamp(24px, 3vw, 38px);
	color: #64748b;
	margin-bottom: 36px;
}

.splash-hero {
	background: #f8fafc;
	border-radius: 36px;
	padding: 36px;
	margin: 0 auto 36px;
	width: min(100%, 640px);
}

.shopping-bag {
	font-size: 110px;
	line-height: 1;
}

.pickup-label {
	font-size: 28px;
	font-weight: 700;
	color: #334155;
	margin-top: 16px;
}

.splash-start-btn {
	width: min(100%, 520px);
	margin: 0 auto;
	border-radius: 28px;
	padding: 28px 36px;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: 1px;
}

.feature-chip {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 16px 12px;
	font-size: 18px;
	font-weight: 700;
	color: #334155;
}

.splash-footer {
	margin-top: 32px;
	font-size: 18px;
	color: #94a3b8;
}

.accepted-panel {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 30px;
	padding: 30px;
}

.channel-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 26px;
	border: 1px solid #e2e8f0;
}

.channel-title {
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 18px;
	color: #1e293b;
}

.logo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.payment-logo {
	border-radius: 16px;
	padding: 18px 12px;
	font-weight: 900;
	font-size: 22px;
	text-align: center;
	background: #f1f5f9;
	color: #0f172a;
	min-height: 70px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.visa-logo {
	background: #eef4ff;
	color: #1a4db3;
}

.mastercard-logo {
	background: #fff4e5;
	color: #c2410c;
}

.jcb-logo {
	background: #ecfdf5;
	color: #047857;
}

.amex-logo {
	background: #eff6ff;
	color: #0369a1;
}

.gcash-logo {
	background: #eaf2ff;
	color: #0d6efd;
}

.maya-logo {
	background: #eafff1;
	color: #059669;
}

.qrph-logo {
	background: #fff1f2;
	color: #be123c;
}

.online-logo {
	background: #f5f3ff;
	color: #6d28d9;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.product-image {
		height: 260px;
	}

	.product-title {
		min-height: 76px;
	}
}

@media (orientation: portrait) and (min-height: 1200px) {
	.product-image {
		height: 260px;
	}

	.kiosk-bg {
		padding: 32px !important;
		padding-bottom: 140px !important;
	}

	.checkout-bar {
		padding: 28px 34px;
	}
}

@media (max-width: 900px) {
	.splash-card {
		padding: 36px 24px;
		border-radius: 30px;
	}

	.splash-start-btn {
		font-size: 28px;
		padding: 24px;
	}

	.shopping-bag {
		font-size: 80px;
	}
}


.mr-logo-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}

.mr-logo {
	max-width: min(100%, 560px);
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 18px;
}

.payment-logo-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	min-height: 90px;
	padding: 10px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.payment-logo-img {
	max-width: 100%;
	max-height: 62px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (max-width: 900px) {
	.mr-logo {
		max-width: 100%;
	}
}


/* V5 professional UI updates: removed emoji-style icons */

.professional-hero {
	width: min(100%, 860px);
	padding: 34px;
}

.process-flow {
	display: grid;
	grid-template-columns: 1fr 36px 1fr 36px 1fr;
	align-items: stretch;
	gap: 16px;
}

.process-step {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 26px;
	padding: 26px 18px;
	min-height: 190px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.process-number {
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #0d6efd;
	color: #ffffff;
	font-size: 28px;
	font-weight: 900;

	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.process-title {
	font-size: 22px;
	font-weight: 900;
	color: #1e293b;
	margin-bottom: 8px;
}

.process-text {
	font-size: 16px;
	color: #64748b;
	line-height: 1.35;
}

.process-line {
	height: 4px;
	background: #cbd5e1;
	border-radius: 999px;
	align-self: center;
}

.payment-method-icon-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}

.payment-method-icon {
	width: 150px;
	height: 150px;
	object-fit: contain;
}

.payment-method-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-weight: 800;
}

.method-btn-icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

@media (max-width: 900px) {
	.process-flow {
		grid-template-columns: 1fr;
	}

	.process-line {
		width: 4px;
		height: 28px;
		justify-self: center;
	}
}


/* V6 payment page refinement */

.payment-choice-btn {
	min-height: 74px;
	font-size: 22px;
	font-weight: 800;
	background: #ffffff;
}

.active-method-btn {
	background: #0d6efd !important;
	border-color: #0d6efd !important;
	color: #ffffff !important;
}

.payment-choice-btn:hover {
	background: #eaf2ff;
}

.active-method-btn:hover {
	background: #0b5ed7 !important;
	color: #ffffff !important;
}

.payment-box {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.accepted-panel .channel-card {
	margin-bottom: 0;
}


/* V7 premium minimalist payment design */

.premium-payment-page {
	min-height: 100vh;
	background:
		radial-gradient(circle at 10% 10%, rgba(13, 110, 253, 0.13), transparent 36%),
		radial-gradient(circle at 90% 90%, rgba(25, 135, 84, 0.13), transparent 36%),
		#f4f7fb;
	padding: 48px;
}

.premium-payment-shell {
	width: min(100%, 1280px);
	margin: 0 auto;
}

.premium-payment-header {
	background: #ffffff;
	border-radius: 34px;
	padding: 34px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
	margin-bottom: 28px;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.premium-eyebrow {
	color: #0d6efd;
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.premium-payment-header h1 {
	font-size: 54px;
	font-weight: 900;
	margin: 0;
	color: #0f172a;
}

.premium-payment-header p {
	font-size: 22px;
	color: #64748b;
	margin: 6px 0 0;
}

.premium-card,
.premium-summary {
	background: #ffffff;
	border-radius: 34px;
	padding: 34px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
	min-height: 100%;
}

.premium-method-list {
	display: grid;
	gap: 18px;
}

.premium-method {
	border: 2px solid #e2e8f0;
	background: #ffffff;
	border-radius: 28px;
	padding: 28px;
	text-align: left;

	display: flex;
	justify-content: space-between;
	align-items: center;

	transition: 0.2s ease;
}

.premium-method:hover {
	border-color: #0d6efd;
	background: #f8fbff;
}

.active-premium-method {
	border-color: #0d6efd;
	background: #eef6ff;
	box-shadow: 0 12px 28px rgba(13, 110, 253, 0.12);
}

.premium-method-title {
	font-size: 28px;
	font-weight: 900;
	color: #0f172a;
}

.premium-method-text {
	font-size: 18px;
	color: #64748b;
	margin-top: 6px;
}

.premium-check {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #64748b;
	font-size: 26px;
	font-weight: 900;

	display: flex;
	align-items: center;
	justify-content: center;
}

.active-premium-method .premium-check {
	background: #0d6efd;
	color: #ffffff;
}

.premium-status {
	border-radius: 22px;
	background: #eff6ff;
	color: #1d4ed8;
	padding: 22px;
	margin: 26px 0;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.premium-status-success {
	background: #ecfdf5;
	color: #047857;
}

.premium-logo-grid {
	grid-template-columns: repeat(3, 1fr);
}

/* V7 commercial terminal design */

.commercial-page {
	min-height: 100vh;
	background: #111827;
	color: #0f172a;
	padding-bottom: 130px;
}

.commercial-header {
	background: linear-gradient(135deg, #0d6efd, #0f172a);
	color: #ffffff;
	padding: 28px 36px;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.commercial-brand {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: 1px;
}

.commercial-subtitle {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.78);
}

.commercial-shell {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	padding: 28px;
}

.commercial-sidebar {
	background: #ffffff;
	border-radius: 32px;
	padding: 26px;
	min-height: calc(100vh - 220px);
}

.sidebar-title {
	font-size: 26px;
	font-weight: 900;
	margin-bottom: 20px;
}

.category-pill {
	width: 100%;
	border: 0;
	background: #f1f5f9;
	border-radius: 20px;
	padding: 18px 20px;
	font-size: 20px;
	font-weight: 800;
	text-align: left;
	margin-bottom: 14px;
	color: #334155;
}

.active-category {
	background: #0d6efd;
	color: #ffffff;
}

.sidebar-help {
	background: #fff7ed;
	color: #9a3412;
	border-radius: 22px;
	padding: 18px;
	margin-top: 32px;
}

.commercial-main {
	background: #f8fafc;
	border-radius: 32px;
	padding: 30px;
}

.commercial-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
}

.commercial-toolbar h1 {
	font-size: 46px;
	font-weight: 900;
	color: #0f172a;
	margin: 0;
}

.commercial-toolbar p {
	font-size: 20px;
	color: #64748b;
	margin: 4px 0 0;
}

.commercial-search {
	max-width: 360px;
	border-radius: 18px;
}

.commercial-product-card {
	background: #ffffff;
	border-radius: 30px;
	padding: 24px;
	min-height: 100%;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	transition: 0.2s ease;
}

.commercial-product-card:hover {
	transform: translateY(-4px);
}

.commercial-product-image-wrap {
	background: #f8fafc;
	border-radius: 24px;
	padding: 12px;
}

.commercial-product-image {
	width: 100%;
	height: 230px;
	object-fit: contain;
}

.commercial-product-card h3 {
	font-size: 24px;
	font-weight: 900;
	margin-top: 18px;
	min-height: 62px;
	text-align: center;
}

.commercial-price {
	color: #0d6efd;
	font-size: 38px;
	font-weight: 900;
	text-align: center;
}

.commercial-checkout-bar {
	border: 2px solid #0d6efd;
}

@media (max-width: 992px) {
	.commercial-shell {
		grid-template-columns: 1fr;
	}

	.commercial-sidebar {
		min-height: auto;
	}

	.commercial-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.premium-payment-header {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}
}


/* V8 real QR generation styling */

.real-qr-box {
	font-size: initial;
	border-style: solid;
	border-color: #e2e8f0;
	padding: 18px;
}

.generated-qr-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.qr-payload-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 16px;
	word-break: break-all;
	color: #334155;
}


/* V9 combined premium minimalist + commercial category layout */

.premium-header-card {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 1));
}

.premium-product-layout {
	display: grid;
	grid-template-columns: 310px 1fr;
	gap: 24px;
	align-items: start;
}

.premium-category-panel {
	background: #ffffff;
	border-radius: 32px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
	padding: 26px;
	position: sticky;
	top: 24px;
}

.category-panel-title {
	font-size: 30px;
	font-weight: 900;
	color: #0f172a;
	margin-bottom: 4px;
}

.category-panel-subtitle {
	color: #64748b;
	font-size: 16px;
	margin-bottom: 24px;
}

.premium-category-btn {
	width: 100%;
	border: 2px solid #e2e8f0;
	background: #ffffff;
	border-radius: 22px;
	padding: 18px 20px;
	margin-bottom: 14px;
	text-align: left;
	transition: 0.2s ease;
}

.premium-category-btn span {
	display: block;
	font-size: 21px;
	font-weight: 900;
	color: #0f172a;
}

.premium-category-btn small {
	display: block;
	color: #64748b;
	margin-top: 4px;
	font-size: 14px;
}

.premium-category-btn:hover {
	border-color: #0d6efd;
	background: #f8fbff;
}

.premium-category-btn.active-category {
	border-color: #0d6efd;
	background: #eef6ff;
	box-shadow: 0 12px 28px rgba(13, 110, 253, 0.10);
}

.premium-category-btn.active-category span {
	color: #0d6efd;
}

.premium-category-help {
	margin-top: 28px;
	background: #f8fafc;
	border-radius: 22px;
	padding: 18px;
	color: #334155;
	border: 1px solid #e2e8f0;
}

.premium-menu-panel {
	background: #ffffff;
}

.premium-product-card {
	border: 1px solid #eef2f7 !important;
}

@media (max-width: 1100px) {
	.premium-product-layout {
		grid-template-columns: 1fr;
	}

	.premium-category-panel {
		position: relative;
		top: 0;
	}

	.premium-category-panel {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.category-panel-title,
	.category-panel-subtitle,
	.premium-category-help {
		grid-column: 1 / -1;
	}

	.premium-category-btn {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.product-toolbar {
		flex-direction: column;
		align-items: stretch !important;
		gap: 16px;
	}

	.premium-category-panel {
		grid-template-columns: 1fr;
	}
}


/* V11 splash cleanup */
.splash-subtitle-clean {
	margin-top: 6px;
	margin-bottom: 28px;
}


/* V12 UI shadow enhancements and modal checkout */

.ui-elevated-card {
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12) !important;
}

.ui-soft-card {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.ui-elevated-bar {
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16) !important;
}

.product-card:hover,
.commercial-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12) !important;
}

.checkout-modal-content {
	background: #ffffff;
	box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18) !important;
}

.checkout-modal-item {
	background: #f8fafc;
	border-radius: 22px;
	padding: 18px;
	margin-bottom: 16px;
	border: 1px solid #e2e8f0;
}

.customer-info-panel {
	margin-top: 26px;
	padding: 24px;
	background: #f8fafc;
	border-radius: 24px;
	border: 1px solid #e2e8f0;
}

.privacy-check-box {
	margin-top: 14px;
	padding: 12px 14px;
	background: #ffffff;
	border-radius: 18px;
	border: 1px solid #dbe4ef;
}

.privacy-check-box .form-check-input {
	margin-top: 0.3rem;
}

.privacy-check-box .form-check-label {
	font-size: 15px;
	color: #475569;
	line-height: 1.5;
}

.premium-card,
.premium-summary,
.premium-payment-header,
.premium-category-panel,
.premium-menu-panel,
.splash-card,
.success-card {
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.10);
}

.btn {
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn:hover {
	box-shadow: 0 12px 22px rgba(15, 23, 42, 0.10);
}

.qr-box.real-qr-box,
.payment-logo-card,
.accepted-panel,
.channel-card {
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}


/* V13 product visibility and privacy checkbox refinements */

.product-pop-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(13, 110, 253, 0.10) !important;
	background:
		radial-gradient(circle at top left, rgba(13, 110, 253, 0.10), transparent 32%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
}

.product-pop-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 30px;
	pointer-events: none;
	border: 2px solid rgba(13, 110, 253, 0.06);
}

.product-pop-card:hover {
	transform: translateY(-8px) scale(1.015);
	box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18) !important;
	border-color: rgba(13, 110, 253, 0.28) !important;
}

.product-visible-tag {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #bbf7d0;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 18px rgba(4, 120, 87, 0.10);
}

.product-image-stage {
	background:
		radial-gradient(circle, #ffffff 0%, #f1f7ff 68%, #eaf2ff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 30px;
	padding: 18px;
	min-height: 285px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 2px 8px rgba(15, 23, 42, 0.04),
		0 14px 28px rgba(15, 23, 42, 0.08);
}

.product-image-stage .product-image {
	height: 255px;
	width: 100%;
	object-fit: contain;
	background: transparent;
	border-radius: 0;
	padding: 0;
	filter: drop-shadow(0 14px 16px rgba(15, 23, 42, 0.16));
	transition: 0.25s ease;
}

.product-pop-card:hover .product-image {
	transform: scale(1.07);
	filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.22));
}

.product-pop-card .product-title {
	color: #0f172a;
	font-size: 25px;
	line-height: 1.18;
	min-height: 68px;
}

.product-price-pill {
	width: fit-content;
	margin: 10px auto 0;
	background: #eef6ff;
	color: #0d6efd;
	border: 1px solid #cfe2ff;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 34px;
	font-weight: 900;
	box-shadow: 0 10px 22px rgba(13, 110, 253, 0.10);
}

.product-add-hint {
	text-align: center;
	color: #64748b;
	font-size: 15px;
	font-weight: 700;
	margin-top: 8px;
}

.product-pop-card .qty-btn {
	border-width: 2px;
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.product-pop-card .qty-display {
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 18px;
	padding: 8px 18px;
	min-width: 78px;
	box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.05);
}

/* Larger, touch-friendly privacy consent checkbox */
.privacy-check-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
}

.privacy-check-box .form-check-input {
	width: 30px;
	height: 30px;
	min-width: 30px;
	margin-left: 0;
	margin-top: 3px;
	cursor: pointer;
	border: 2px solid #94a3b8;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.privacy-check-box .form-check-input:checked {
	background-color: #0d6efd;
	border-color: #0d6efd;
}

.privacy-check-box .form-check-label {
	flex: 1;
	font-size: 17px;
	line-height: 1.45;
	color: #334155;
	cursor: pointer;
	padding-top: 1px;
}

@media (orientation: portrait) and (min-height: 1200px) {
	.product-image-stage {
		min-height: 315px;
	}

	.product-image-stage .product-image {
		height: 285px;
	}

	.product-price-pill {
		font-size: 38px;
	}
}

@media (max-width: 768px) {
	.product-image-stage {
		min-height: 240px;
	}

	.product-image-stage .product-image {
		height: 210px;
	}

	.product-price-pill {
		font-size: 28px;
	}
}


/* V14 product page title header */
.product-page-title {
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 900;
	color: #0d6efd;
	letter-spacing: -0.5px;
	line-height: 1;
}


/* V15 AWS + payment layout updates */
.customer-info-panel.mt-4 {
	margin-top: 24px !important;
}

/* V16 database-backed product display */
.out-of-stock-card {
	opacity: .62;
	filter: grayscale(.45)
}

.out-tag {
	background: #fff1f2 !important;
	color: #be123c !important;
	border-color: #fecdd3 !important
}


/* IWAR logo product header update */
.product-header-brand {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.product-header-logo {
	width: min(100%, 430px);
	max-height: 115px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.12));
}

@media (max-width: 768px) {
	.product-header-logo {
		width: min(100%, 320px);
		max-height: 90px;
	}
}


/* Product page IWAR logo readability adjustment */
.product-header-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 135px;
}

.product-header-logo-large {
	width: min(100%, 760px);
	max-height: 165px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.16));
}

.premium-header-card {
	min-height: 190px;
}

@media (max-width: 992px) {
	.product-header-logo-large {
		width: min(100%, 560px);
		max-height: 140px;
	}

	.premium-header-card {
		min-height: 165px;
	}
}

@media (max-width: 768px) {
	.product-header-brand {
		min-height: 110px;
	}

	.product-header-logo-large {
		width: min(100%, 420px);
		max-height: 115px;
	}

	.premium-header-card {
		min-height: 145px;
	}
}


/* Latest V18 logo design implementation */
.product-header-brand-preview {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	min-height: 110px;
}

.product-header-icon {
	width: 92px;
	height: 92px;
	object-fit: contain;
	flex: 0 0 auto;
	filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.14));
}

.product-header-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1;
}

.product-header-title {
	font-size: 56px;
	font-weight: 900;
	letter-spacing: 0.5px;
	color: #111827;
	line-height: 0.95;
	margin-bottom: 8px;
}

.product-header-subtitle {
	font-size: 18px;
	font-weight: 500;
	color: #8b8b8b;
	letter-spacing: 0.2px;
	line-height: 1.15;
}

.premium-header-card {
	min-height: 120px;
}

@media (max-width: 1200px) {
	.product-header-title {
		font-size: 48px;
	}

	.product-header-subtitle {
		font-size: 16px;
	}

	.product-header-icon {
		width: 82px;
		height: 82px;
	}
}

@media (max-width: 768px) {
	.product-header-brand-preview {
		gap: 10px;
		min-height: 90px;
	}

	.product-header-title {
		font-size: 34px;
	}

	.product-header-subtitle {
		font-size: 13px;
	}

	.product-header-icon {
		width: 64px;
		height: 64px;
	}
}


/* Header brand cluster with JCM + UNISTOP TECH */
.header-brand-cluster {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	min-width: 0;
}

.header-primary-brand {
	display: flex;
	align-items: center;
}

.header-primary-logo {
	width: min(100%, 420px);
	max-height: 108px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.10));
}

.header-brand-divider {
	width: 1px;
	min-height: 96px;
	align-self: stretch;
	background: linear-gradient(180deg, transparent 0%, #d5dbe5 20%, #d5dbe5 80%, transparent 100%);
}

.header-partner-logos {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.header-partner-logo {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.08));
}

.header-partner-logo-jcm {
	width: min(100%, 250px);
	max-height: 84px;
}

.header-partner-logo-unistop {
	width: min(100%, 290px);
	max-height: 64px;
}

.premium-header-card .d-flex.justify-content-between.align-items-center {
	gap: 20px;
}

.premium-header-card .text-end {
	flex: 0 0 auto;
}

/* Responsive behavior for vertical / portrait kiosk screens */
@media (orientation: portrait),
(max-width: 980px) {
	.premium-header-card .d-flex.justify-content-between.align-items-center {
		flex-direction: column;
		align-items: stretch !important;
	}

	.header-brand-cluster {
		width: 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 16px;
		text-align: center;
	}

	.header-primary-brand {
		justify-content: center;
		width: 100%;
	}

	.header-primary-logo {
		width: min(92vw, 460px);
		max-height: 118px;
		object-position: center center;
	}

	.header-brand-divider {
		width: 82%;
		height: 1px;
		min-height: 1px;
		background: linear-gradient(90deg, transparent 0%, #d5dbe5 20%, #d5dbe5 80%, transparent 100%);
	}

	.header-partner-logos {
		align-items: center;
		width: 100%;
		text-align: center;
	}

	.header-partner-logo-jcm {
		width: min(92vw, 330px);
		max-height: 92px;
	}

	.header-partner-logo-unistop {
		width: min(92vw, 400px);
		max-height: 80px;
	}

	.premium-header-card .text-end {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 12px;
	}

	.premium-header-card .text-end .btn,
	.premium-header-card .text-end .badge {
		margin-right: 0 !important;
	}
}

@media (max-width: 640px) {
	.header-primary-logo {
		width: min(94vw, 320px);
		max-height: 88px;
	}

	.header-partner-logo-jcm {
		width: min(94vw, 270px);
		max-height: 74px;
	}

	.header-partner-logo-unistop {
		width: min(94vw, 310px);
		max-height: 62px;
	}
}


/* Balanced 3-column header logo strip */
.header-top-wrap {
	gap: 22px;
}

.header-logo-strip-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.header-logo-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.header-logo-cell {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	min-height: 128px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.header-logo-strip-item {
	max-width: 100%;
	width: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.08));
}

/* Equalized visual heights */
.header-logo-iwar {
	max-height: 84px;
}

.header-logo-jcm {
	max-height: 92px;
}

.header-logo-unistop {
	max-height: 72px;
}

.header-actions-wrap {
	flex: 0 0 auto;
	align-self: center;
}

@media (max-width: 1280px) {
	.header-logo-cell {
		min-height: 116px;
		padding: 16px 18px;
	}

	.header-logo-iwar {
		max-height: 76px;
	}

	.header-logo-jcm {
		max-height: 84px;
	}

	.header-logo-unistop {
		max-height: 64px;
	}
}

/* Portrait / vertical kiosk layout */
@media (orientation: portrait),
(max-width: 980px) {
	.header-top-wrap {
		flex-direction: column;
		align-items: stretch !important;
	}

	.header-logo-strip {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.header-logo-cell {
		min-height: 112px;
		padding: 16px;
	}

	.header-logo-iwar {
		max-height: 72px;
	}

	.header-logo-jcm {
		max-height: 78px;
	}

	.header-logo-unistop {
		max-height: 56px;
	}

	.header-actions-wrap {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 12px;
		text-align: center !important;
	}

	.header-actions-wrap .btn,
	.header-actions-wrap .badge {
		margin-right: 0 !important;
	}
}

@media (max-width: 640px) {
	.header-logo-cell {
		min-height: 96px;
		border-radius: 20px;
	}

	.header-logo-iwar {
		max-height: 58px;
	}

	.header-logo-jcm {
		max-height: 64px;
	}

	.header-logo-unistop {
		max-height: 48px;
	}
}


/* Smaller desktop header logos override */
.header-logo-cell {
	min-height: 108px;
	padding: 14px 18px;
}

.header-logo-iwar {
	max-height: 68px;
}

.header-logo-jcm {
	max-height: 74px;
}

.header-logo-unistop {
	max-height: 56px;
}

@media (max-width: 1280px) {
	.header-logo-cell {
		min-height: 104px;
		padding: 14px 16px;
	}

	.header-logo-iwar {
		max-height: 64px;
	}

	.header-logo-jcm {
		max-height: 70px;
	}

	.header-logo-unistop {
		max-height: 52px;
	}
}


/* Remove logo containers / cards */
.header-logo-strip {
	align-items: center;
}

.header-logo-cell {
	background: transparent;
	border: none;
	box-shadow: none;
	min-height: auto;
	padding: 4px 10px;
	border-radius: 0;
}

.header-logo-strip-item {
	filter: none;
}

@media (orientation: portrait),
(max-width: 980px) {
	.header-logo-cell {
		padding: 6px 8px;
		min-height: auto;
	}
}


/* V18 vertical kiosk reference-inspired layout */
.kiosk-bg {
	padding-bottom: 245px !important;
}

.kiosk-hero-card {
	background: #fff;
	min-height: 210px;
	margin-bottom: 12px;
	border-bottom: 5px solid #064b63;
	display: grid;
	grid-template-columns: 1fr 1.6fr 1fr;
	align-items: center;
	gap: 20px;
	padding: 20px 48px;
}

.hero-copy {
	text-align: center
}

.hero-title {
	font-size: clamp(30px, 3.1vw, 48px);
	font-weight: 900;
	color: #101827;
	line-height: 1.05
}

.hero-subtitle {
	font-size: 18px;
	color: #334155;
	margin-top: 12px
}

.hero-pickup-btn {
	margin-top: 18px;
	background: #064b63;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 16px 58px;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 1px;
	text-transform: uppercase;
	box-shadow: 0 10px 22px rgba(6, 75, 99, .20)
}

.hero-phone,
.hero-arm {
	display: flex;
	justify-content: center;
	align-items: center
}

.phone-shape {
	width: 118px;
	height: 170px;
	border-radius: 18px;
	background: linear-gradient(180deg, #0b425d, #0f172a);
	padding: 14px;
	box-shadow: 0 14px 28px rgba(15, 23, 42, .20)
}

.phone-title {
	color: #fff;
	font-size: 12px;
	text-align: center;
	margin-top: 12px
}

.phone-code-boxes {
	display: flex;
	gap: 4px;
	justify-content: center;
	margin-top: 20px
}

.phone-code-boxes span {
	width: 12px;
	height: 16px;
	border-radius: 3px;
	background: #fff
}

.basket-box {
	background: #f59e0b;
	color: #7c2d12;
	font-weight: 900;
	padding: 40px 26px 18px;
	border-radius: 10px 10px 28px 28px
}

.robot-arm-shape {
	width: 105px;
	height: 72px;
	border: 18px solid #c7c7c7;
	border-left: 0;
	border-bottom: 0;
	border-radius: 0 40px 0 0;
	margin-left: -5px
}

.vertical-kiosk-layout {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 22px;
	align-items: start
}

.vertical-category-rail {
	background: #fff;
	border-radius: 0;
	padding: 0;
	overflow: hidden
}

.vertical-category-tile {
	width: 100%;
	min-height: 122px;
	border: 0;
	border-bottom: 1px solid #dbe4ef;
	background: #eef3f6;
	color: #064b63;
	font-weight: 900;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px
}

.vertical-category-tile.active-category {
	background: #fff3be;
	color: #064b63
}

.category-line-icon {
	width: 48px;
	height: 48px;
	border: 3px solid #064b63;
	border-radius: 12px;
	position: relative
}

.category-line-icon:after {
	content: "";
	position: absolute;
	inset: 11px;
	background: #facc15;
	border-radius: 8px
}

.vertical-product-area {
	background: #fff;
	border-radius: 0;
	padding: 38px 42px;
	min-height: 940px
}

.vertical-product-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 26px
}

.vertical-section-title {
	font-size: 34px;
	font-weight: 900;
	color: #064b63;
	margin: 0;
	text-transform: uppercase
}

.vertical-section-subtitle {
	color: #64748b;
	margin-top: 6px
}

.vertical-product-card {
	position: relative;
	min-height: 405px;
	text-align: center;
	padding: 20px 12px 18px;
	border-radius: 20px;
	transition: .2s ease
}

.vertical-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, .10)
}

.vertical-product-image-wrap {
	height: 195px;
	display: flex;
	align-items: center;
	justify-content: center
}

.vertical-product-image {
	max-width: 100%;
	height: 185px;
	object-fit: contain;
	filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .15))
}

.vertical-product-title {
	font-size: 20px;
	font-weight: 600;
	color: #064b63;
	min-height: 50px;
	margin-top: 10px
}

.vertical-product-price {
	font-size: 28px;
	line-height: 1;
	font-weight: 900;
	color: #064b63
}

.vertical-product-stock {
	color: #64748b;
	font-size: 13px;
	margin-top: 9px;
	font-weight: 700
}

.vertical-product-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 14px
}

.vertical-order-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 82px;
	z-index: 60;
	background: #fff;
	border-top: 4px solid #064b63;
	border-bottom: 4px solid #064b63;
	min-height: 104px;
	display: grid;
	grid-template-columns: 150px 1fr auto;
	align-items: center
}

.order-basket-icon {
	height: 104px;
	background: #064b63;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative
}

.basket-body {
	width: 58px;
	height: 44px;
	border: 7px solid #fff;
	border-top: 0;
	border-radius: 0 0 10px 10px
}

.basket-handle {
	position: absolute;
	width: 70px;
	height: 34px;
	border: 7px solid #fff;
	border-bottom: 0;
	border-radius: 32px 32px 0 0;
	margin-top: -32px
}

.order-preview-strip {
	padding: 20px 34px
}

.order-dock-total {
	padding: 0 42px;
	font-size: 36px;
	font-weight: 900;
	color: #064b63
}

.vertical-action-row {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 65;
	background: #fff;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	padding: 16px 90px 20px
}

.start-over-btn,
.review-orders-btn {
	border-radius: 12px;
	min-height: 72px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 8px;
	font-size: 26px;
	font-weight: 900
}

.start-over-btn {
	background: #ff6366
}

.review-orders-btn {
	background: #064b63
}

.start-over-btn:hover,
.review-orders-btn:hover {
	color: #fff;
	filter: brightness(.96)
}

.checkout-bar {
	display: none !important
}

body.force-vertical-ui .kiosk-bg {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 !important;
	padding-bottom: 245px !important;
	background: #fff
}

body.force-vertical-ui .kiosk-hero-card {
	grid-template-columns: 1fr;
	padding: 18px 20px;
	gap: 10px
}

body.force-vertical-ui .hero-phone,
body.force-vertical-ui .hero-arm {
	display: none
}

body.force-vertical-ui .hero-title {
	font-size: 32px
}

body.force-vertical-ui .hero-pickup-btn {
	width: min(100%, 430px)
}

body.force-vertical-ui .premium-header-card {
	margin: 0 0 12px !important;
	border-radius: 0 !important
}

body.force-vertical-ui .vertical-kiosk-layout {
	grid-template-columns: 126px 1fr;
	gap: 14px
}

body.force-vertical-ui .vertical-category-tile {
	min-height: 112px;
	font-size: 13px
}

body.force-vertical-ui .vertical-product-area {
	padding: 28px 24px
}

body.force-vertical-ui .vertical-product-toolbar {
	flex-direction: column;
	gap: 16px
}

body.force-vertical-ui .search-box {
	max-width: 100%
}

body.force-vertical-ui .vertical-product-grid .product-col {
	width: 50%
}

body.force-vertical-ui .vertical-action-row,
body.force-vertical-ui .vertical-order-dock {
	max-width: 920px;
	margin: 0 auto
}

body.force-vertical-ui .vertical-action-row {
	gap: 24px;
	padding-left: 72px;
	padding-right: 72px
}

@media (orientation:portrait),
(max-width:980px) {
	.kiosk-bg {
		padding: 0 !important;
		padding-bottom: 245px !important
	}

	.kiosk-hero-card {
		grid-template-columns: 1fr;
		padding: 18px 20px;
		gap: 10px
	}

	.hero-phone,
	.hero-arm {
		display: none
	}

	.hero-title {
		font-size: 32px
	}

	.vertical-kiosk-layout {
		grid-template-columns: 126px 1fr;
		gap: 14px
	}

	.vertical-category-tile {
		min-height: 112px;
		font-size: 13px
	}

	.vertical-product-area {
		padding: 28px 24px
	}

	.vertical-product-toolbar {
		flex-direction: column;
		gap: 16px
	}

	.search-box {
		max-width: 100%
	}

	.vertical-product-grid .product-col {
		width: 50%
	}

	.vertical-action-row {
		gap: 24px;
		padding-left: 72px;
		padding-right: 72px
	}
}

@media (max-width:680px) {
	.vertical-kiosk-layout {
		grid-template-columns: 96px 1fr
	}

	.vertical-product-grid .product-col {
		width: 100%
	}

	.vertical-category-tile {
		min-height: 96px;
		font-size: 11px
	}

	.category-line-icon {
		width: 38px;
		height: 38px
	}

	.vertical-order-dock {
		grid-template-columns: 96px 1fr
	}

	.order-dock-total {
		grid-column: 1/-1;
		text-align: center;
		padding-bottom: 12px
	}

	.vertical-action-row {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 12px 28px
	}

	.start-over-btn,
	.review-orders-btn {
		min-height: 56px;
		font-size: 18px;
		letter-spacing: 4px
	}
}


/* Updated UNISTOP TECH logo sizing */
.header-logo-unistop {
	max-height: 48px;
	width: auto;
	max-width: 100%;
}

@media (max-width: 1280px) {
	.header-logo-unistop {
		max-height: 44px;
	}
}

@media (orientation: portrait),
(max-width: 980px) {
	.header-logo-unistop {
		max-height: 58px;
		width: min(92vw, 460px);
	}
}

@media (max-width: 640px) {
	.header-logo-unistop {
		max-height: 46px;
		width: min(94vw, 320px);
	}
}


/* ===== Refined top logo header without online-order banner ===== */
.logo-top-header-card {
	margin-bottom: 22px !important;
}

.logo-top-header-card .header-logo-strip {
	grid-template-columns: repeat(3, auto);
	gap: 22px;
	align-items: center;
}

.logo-top-header-card .header-logo-cell {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	min-height: auto;
}

.logo-top-header-card .header-logo-strip-item {
	filter: none;
}

.logo-top-header-card .header-logo-iwar {
	max-height: 78px;
}

.logo-top-header-card .header-logo-jcm {
	max-height: 82px;
}

.logo-top-header-card .header-logo-unistop {
	max-height: 50px;
}

/* ===== Plain text sidebar + 3-column product browser ===== */
.product-browser-layout {
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 18px;
	align-items: start;
}

.plain-category-sidebar {
	background: #ffffff;
	border-radius: 30px;
	padding: 18px;
	position: sticky;
	top: 20px;
}

.plain-category-header {
	margin-bottom: 18px;
}

.plain-category-header h2 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 900;
	color: #0f172a;
}

.plain-category-header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.plain-category-btn,
.plain-help-card {
	width: 100%;
	text-align: left;
	background: #f8fafc;
	border: 1px solid #dbe4ef;
	border-radius: 20px;
	padding: 16px 16px 14px;
	margin-bottom: 12px;
}

.plain-category-btn {
	cursor: pointer;
	transition: 0.2s ease;
	height: 60px;
	display: flex;
	align-items: center;
}

.plain-category-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.plain-category-btn.active-category {
	background: #edf4ff;
	border-color: #2563eb;
}

.plain-category-title {
	display: block;
	font-size: 17px;
	font-weight: 900;
	color: #0f172a;
	margin-bottom: 4px;
}

.plain-category-desc {
	display: block;
	font-size: 13px;
	color: #64748b;
}

.product-browser-main {
	background: #ffffff;
	border-radius: 30px;
	padding: 20px 22px 28px;
	min-height: 920px;
}

.browser-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
}

.browser-title {
	margin: 0 0 4px;
	font-size: 34px;
	font-weight: 900;
	color: #111827;
}

.browser-subtitle {
	color: #64748b;
	font-size: 16px;
}

.browser-product-card {
	position: relative;
	background: #fbfdff;
	border: 1px solid #e3edf8;
	border-radius: 24px;
	padding: 18px 16px 20px;
	text-align: center;
	min-height: 450px;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
}

.browser-product-image-wrap {
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	background: #f3f7fb;
	margin-bottom: 14px;
	padding: 12px;
}

.browser-product-image {
	width: 100%;
	height: 190px;
	object-fit: contain;
	filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.12));
}

.browser-product-title {
	font-size: 20px;
	font-weight: 900;
	line-height: 1.25;
	min-height: 52px;
	color: #182033;
	margin-bottom: 14px;
}

.browser-product-price {
	display: inline-block;
	background: #f2f7ff;
	border: 1px solid #c7dafd;
	color: #2563eb;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 24px;
	font-weight: 900;
	margin-bottom: 8px;
}

.browser-product-stock {
	color: #64748b;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 16px;
}

.browser-product-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
}

.touch-qty-btn {
	min-width: 72px;
	min-height: 72px;
	border-radius: 16px;
	font-size: 32px;
	font-weight: 900;
	padding: 0;
	line-height: 1;
}

.touch-qty-display {
	min-width: 52px;
	display: inline-block;
	font-size: 38px;
	font-weight: 900;
	color: #1f2937;
}

/* Keep exactly 3 products per row on normal desktop/tablet landscape */
#productGrid>.product-col {
	display: block;
}

/* Vertical orientation mode */
body.force-vertical-ui .product-browser-layout {
	grid-template-columns: 190px 1fr;
}

body.force-vertical-ui .plain-category-sidebar {
	top: 10px;
}

body.force-vertical-ui .browser-toolbar {
	flex-direction: column;
	align-items: stretch;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 50%;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 68px;
	min-height: 68px;
}

/* Responsive layout */
@media (max-width: 1200px) {
	.product-browser-layout {
		grid-template-columns: 210px 1fr;
	}

	.logo-top-header-card .header-logo-iwar {
		max-height: 70px;
	}

	.logo-top-header-card .header-logo-jcm {
		max-height: 74px;
	}

	.logo-top-header-card .header-logo-unistop {
		max-height: 44px;
	}
}

@media (orientation: portrait),
(max-width: 980px) {
	.logo-top-header-card .d-flex.justify-content-between.align-items-center {
		flex-direction: column;
		align-items: stretch !important;
		gap: 16px;
	}

	.logo-top-header-card .header-logo-strip {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 14px;
	}

	.logo-top-header-card .header-actions-wrap {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 12px;
		text-align: center !important;
	}

	.logo-top-header-card .header-actions-wrap .btn,
	.logo-top-header-card .header-actions-wrap .badge {
		margin-right: 0 !important;
	}

	.product-browser-layout {
		grid-template-columns: 170px 1fr;
		gap: 14px;
	}

	.browser-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	#productGrid>.product-col {
		width: 50%;
	}
}

@media (max-width: 760px) {
	.product-browser-layout {
		grid-template-columns: 1fr;
	}

	.plain-category-sidebar {
		position: static;
	}

	#productGrid>.product-col {
		width: 100%;
	}

	.browser-product-card {
		min-height: 420px;
	}

	.touch-qty-btn {
		min-width: 64px;
		min-height: 64px;
		font-size: 30px;
	}

	.touch-qty-display {
		font-size: 34px;
	}
}


/* Keep 3 products per row in vertical UI mode as well */
body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333%;
}

@media (orientation: portrait),
(max-width: 980px) {
	#productGrid>.product-col {
		width: 33.333333%;
	}
}

/* Only collapse below 3-per-row on truly small screens */
@media (max-width: 760px) {

	body.force-vertical-ui #productGrid>.product-col,
	#productGrid>.product-col {
		width: 100%;
	}
}


/* ===== Product card alignment fix ===== */
.browser-product-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 470px;
	height: 100%;
}

.browser-product-image-wrap {
	flex: 0 0 auto;
}

.browser-product-title {
	min-height: 108px;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.browser-product-price {
	flex: 0 0 auto;
	min-width: 162px;
	align-self: center;
}

.browser-product-stock {
	flex: 0 0 auto;
	min-height: 22px;
	margin-bottom: 18px;
}

.browser-product-controls {
	margin-top: auto;
	min-height: 76px;
	gap: 16px;
}

.touch-qty-btn {
	min-width: 76px;
	width: 76px;
	min-height: 76px;
	height: 76px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	line-height: 1;
	padding: 0;
	flex: 0 0 auto;
}

.touch-qty-display {
	min-width: 64px;
	width: 64px;
	min-height: 76px;
	height: 76px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	font-weight: 900;
	line-height: 1;
}

/* ===== Dedicated vertical logo container above nav ===== */
.vertical-logo-panel {
	display: none;
}

.header-nav-panel {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}

.header-nav-panel .btn,
.header-nav-panel .badge {
	margin-right: 0 !important;
}

@media (orientation: portrait),
(max-width: 980px) {
	.logo-top-header-card {
		padding: 18px !important;
	}

	.vertical-logo-panel {
		display: block;
		margin-bottom: 16px;
	}

	.vertical-logo-panel-inner {
		background: #ffffff;
		border: 1px solid #dbe4ef;
		border-radius: 24px;
		padding: 18px 18px 14px;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	}

	.vertical-logo-strip {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 16px;
	}

	.vertical-logo-strip .header-logo-cell {
		width: 100%;
		display: flex;
		justify-content: center;
		padding: 0;
	}

	.vertical-logo-strip .header-logo-iwar {
		max-height: 92px;
	}

	.vertical-logo-strip .header-logo-jcm {
		max-height: 86px;
	}

	.vertical-logo-strip .header-logo-unistop {
		max-height: 60px;
		width: min(100%, 420px);
	}

	.logo-top-header-card .header-logo-strip-wrap {
		display: none;
	}

	.logo-top-header-card .header-top-wrap {
		justify-content: center !important;
	}

	.header-nav-panel {
		width: 100%;
		justify-content: center;
		background: #f8fafc;
		border: 1px solid #dbe4ef;
		border-radius: 22px;
		padding: 14px;
	}

	.touch-qty-btn {
		min-width: 72px;
		width: 72px;
		min-height: 72px;
		height: 72px;
		font-size: 34px;
	}

	.touch-qty-display {
		min-width: 58px;
		width: 58px;
		min-height: 72px;
		height: 72px;
		font-size: 36px;
	}

	.browser-product-card {
		min-height: 458px;
	}

	.browser-product-title {
		min-height: 100px;
	}
}

@media (max-width: 760px) {
	.browser-product-card {
		min-height: 438px;
	}

	.browser-product-title {
		min-height: 88px;
	}

	.touch-qty-btn {
		min-width: 68px;
		width: 68px;
		min-height: 68px;
		height: 68px;
		font-size: 32px;
	}

	.touch-qty-display {
		min-width: 54px;
		width: 54px;
		min-height: 68px;
		height: 68px;
		font-size: 34px;
	}
}


/* ===== Button size adjustment ===== */
.touch-qty-btn {
	min-width: 62px !important;
	width: 62px !important;
	min-height: 62px !important;
	height: 62px !important;
	font-size: 30px !important;
}

.touch-qty-display {
	min-width: 52px !important;
	width: 52px !important;
	min-height: 62px !important;
	height: 62px !important;
	font-size: 34px !important;
}

.browser-product-controls {
	gap: 12px !important;
	min-height: 64px !important;
}

/* ===== True separated logo panel for Vertical UI toggle ===== */
body.force-vertical-ui .vertical-logo-panel {
	display: block !important;
	margin-bottom: 16px;
}

body.force-vertical-ui .vertical-logo-panel-inner {
	background: #ffffff;
	border: 1px solid #dbe4ef;
	border-radius: 24px;
	padding: 18px 18px 14px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.force-vertical-ui .vertical-logo-strip {
	grid-template-columns: 1fr !important;
	justify-items: center;
	gap: 16px;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-cell {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-iwar {
	max-height: 92px;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-jcm {
	max-height: 86px;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-unistop {
	max-height: 60px;
	width: min(100%, 420px);
}

body.force-vertical-ui .logo-top-header-card .header-logo-strip-wrap {
	display: none !important;
}

body.force-vertical-ui .logo-top-header-card .header-top-wrap {
	justify-content: center !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0;
}

body.force-vertical-ui .header-nav-panel {
	width: 100%;
	justify-content: center;
	background: #f8fafc;
	border: 1px solid #dbe4ef;
	border-radius: 22px;
	padding: 14px;
	margin-top: 0;
}

body.force-vertical-ui .header-nav-panel .btn,
body.force-vertical-ui .header-nav-panel .badge {
	margin-right: 0 !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 58px !important;
	width: 58px !important;
	min-height: 58px !important;
	height: 58px !important;
	font-size: 28px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 48px !important;
	width: 48px !important;
	min-height: 58px !important;
	height: 58px !important;
	font-size: 32px !important;
}

body.force-vertical-ui .browser-product-controls {
	gap: 10px !important;
	min-height: 60px !important;
}

/* Extra small screens */
@media (max-width: 760px) {
	.touch-qty-btn {
		min-width: 56px !important;
		width: 56px !important;
		min-height: 56px !important;
		height: 56px !important;
		font-size: 28px !important;
	}

	.touch-qty-display {
		min-width: 46px !important;
		width: 46px !important;
		min-height: 56px !important;
		height: 56px !important;
		font-size: 30px !important;
	}
}


/* ===== More compact vertical logo panel + cleaner centered nav ===== */
body.force-vertical-ui .logo-top-header-card {
	padding: 14px !important;
}

body.force-vertical-ui .vertical-logo-panel {
	margin-bottom: 12px !important;
}

body.force-vertical-ui .vertical-logo-panel-inner {
	padding: 12px 14px 10px !important;
	border-radius: 18px !important;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05) !important;
}

body.force-vertical-ui .vertical-logo-strip {
	gap: 10px !important;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-iwar {
	max-height: 74px !important;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-jcm {
	max-height: 64px !important;
}

body.force-vertical-ui .vertical-logo-strip .header-logo-unistop {
	max-height: 44px !important;
	width: min(100%, 320px) !important;
}

body.force-vertical-ui .header-nav-panel {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	padding: 12px !important;
	border-radius: 18px !important;
}

body.force-vertical-ui .header-nav-panel>* {
	margin: 0 !important;
}

body.force-vertical-ui .header-nav-panel .btn,
body.force-vertical-ui .header-nav-panel .badge {
	flex: 0 0 auto;
}

body.force-vertical-ui .header-nav-panel .btn {
	min-width: 142px;
}

body.force-vertical-ui .header-nav-panel .badge.bg-success {
	min-width: 170px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.force-vertical-ui .header-top-wrap {
	gap: 0 !important;
}

@media (max-width: 760px) {
	body.force-vertical-ui .vertical-logo-panel-inner {
		padding: 10px 12px 8px !important;
	}

	body.force-vertical-ui .vertical-logo-strip {
		gap: 8px !important;
	}

	body.force-vertical-ui .vertical-logo-strip .header-logo-iwar {
		max-height: 62px !important;
	}

	body.force-vertical-ui .vertical-logo-strip .header-logo-jcm {
		max-height: 54px !important;
	}

	body.force-vertical-ui .vertical-logo-strip .header-logo-unistop {
		max-height: 38px !important;
		width: min(100%, 260px) !important;
	}

	body.force-vertical-ui .header-nav-panel {
		gap: 8px !important;
		padding: 10px !important;
	}

	body.force-vertical-ui .header-nav-panel .btn {
		min-width: 126px;
	}

	body.force-vertical-ui .header-nav-panel .badge.bg-success {
		min-width: 150px;
	}
}


/* ===== Separate top logo header + separate nav header ===== */
.separate-logo-header-card {
	margin-bottom: 14px !important;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}

.separate-logo-header-inner {
	display: flex;
	justify-content: center;
	align-items: center;
}

.top-separate-logo-strip {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: center;
	align-items: center;
	gap: 26px;
}

.top-separate-logo-strip .header-logo-cell {
	background: transparent;
	border: none;
	box-shadow: none;
	min-height: auto;
	padding: 0;
}

.top-separate-logo-strip .header-logo-strip-item {
	filter: none;
}

.top-separate-logo-strip .header-logo-iwar {
	max-height: 82px;
}

.top-separate-logo-strip .header-logo-jcm {
	max-height: 84px;
}

.top-separate-logo-strip .header-logo-unistop {
	max-height: 50px;
}

.separate-nav-header-card {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}

.separate-nav-header-card .header-top-wrap {
	justify-content: center !important;
}

.header-nav-panel {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
	width: 100%;
}

.header-nav-panel>* {
	margin: 0 !important;
}

.header-nav-panel .btn {
	min-width: 132px;
}

.header-nav-panel .badge.bg-success {
	min-width: 174px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

/* remove older vertical-logo-panel usage */
.vertical-logo-panel {
	display: none !important;
}

body.force-vertical-ui .vertical-logo-panel {
	display: none !important;
}

body.force-vertical-ui .logo-top-header-card .header-logo-strip-wrap {
	display: none !important;
}

/* Vertical UI / portrait styling keeps the logo in its own top header */
body.force-vertical-ui .separate-logo-header-card {
	padding: 14px !important;
}

body.force-vertical-ui .top-separate-logo-strip {
	grid-template-columns: 1fr;
	gap: 12px;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-iwar {
	max-height: 74px;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-jcm {
	max-height: 64px;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-unistop {
	max-height: 44px;
	width: min(100%, 320px);
}

body.force-vertical-ui .separate-nav-header-card {
	padding: 14px !important;
}

body.force-vertical-ui .header-nav-panel {
	gap: 10px !important;
	padding: 0 !important;
}

body.force-vertical-ui .header-nav-panel .btn {
	min-width: 126px;
}

body.force-vertical-ui .header-nav-panel .badge.bg-success {
	min-width: 156px;
}

@media (orientation: portrait),
(max-width: 980px) {
	.separate-logo-header-card {
		padding: 14px !important;
	}

	.top-separate-logo-strip {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.top-separate-logo-strip .header-logo-iwar {
		max-height: 74px;
	}

	.top-separate-logo-strip .header-logo-jcm {
		max-height: 64px;
	}

	.top-separate-logo-strip .header-logo-unistop {
		max-height: 44px;
		width: min(100%, 320px);
	}

	.separate-nav-header-card {
		padding: 14px !important;
	}

	.header-nav-panel {
		gap: 10px !important;
	}

	.header-nav-panel .btn {
		min-width: 126px;
	}

	.header-nav-panel .badge.bg-success {
		min-width: 156px;
	}
}

@media (max-width: 760px) {
	.top-separate-logo-strip .header-logo-iwar {
		max-height: 60px;
	}

	.top-separate-logo-strip .header-logo-jcm {
		max-height: 52px;
	}

	.top-separate-logo-strip .header-logo-unistop {
		max-height: 36px;
		width: min(100%, 250px);
	}

	.header-nav-panel {
		gap: 8px !important;
	}

	.header-nav-panel .btn {
		min-width: 116px;
	}

	.header-nav-panel .badge.bg-success {
		min-width: 146px;
	}
}


/* ===== Horizontal logo alignment + no nav container + no search bar ===== */
.separate-logo-header-card {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

.top-separate-logo-strip {
	grid-template-columns: repeat(3, auto) !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 34px !important;
}

.top-separate-logo-strip .header-logo-cell {
	display: flex;
	align-items: center;
	justify-content: center;
}

.top-separate-logo-strip .header-logo-iwar {
	max-height: 74px !important;
}

.top-separate-logo-strip .header-logo-jcm {
	max-height: 76px !important;
}

.top-separate-logo-strip .header-logo-unistop {
	max-height: 42px !important;
	width: auto !important;
	max-width: 100%;
}

/* Plain nav row without container/card */
.separate-nav-toolbar {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2px 0 12px;
}

.header-nav-panel {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 14px !important;
	width: 100%;
}

.header-nav-panel .btn,
.header-nav-panel .badge {
	margin: 0 !important;
}

.header-nav-panel .btn {
	min-width: 132px;
}

.header-nav-panel .badge.bg-success {
	min-width: 174px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

/* Browser toolbar without search bar */
.browser-toolbar {
	justify-content: flex-start !important;
	align-items: flex-start !important;
	margin-bottom: 20px !important;
}

.browser-toolbar>div:last-child {
	width: 100%;
}

/* Keep logos horizontal in vertical UI as well */
body.force-vertical-ui .top-separate-logo-strip {
	grid-template-columns: repeat(3, auto) !important;
	gap: 20px !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-iwar {
	max-height: 64px !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-jcm {
	max-height: 62px !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-unistop {
	max-height: 36px !important;
	width: auto !important;
}

body.force-vertical-ui .separate-nav-toolbar {
	padding: 0 0 12px !important;
}

body.force-vertical-ui .header-nav-panel {
	gap: 10px !important;
}

@media (orientation: portrait),
(max-width: 980px) {
	.top-separate-logo-strip {
		grid-template-columns: repeat(3, auto) !important;
		gap: 18px !important;
	}

	.top-separate-logo-strip .header-logo-iwar {
		max-height: 60px !important;
	}

	.top-separate-logo-strip .header-logo-jcm {
		max-height: 58px !important;
	}

	.top-separate-logo-strip .header-logo-unistop {
		max-height: 34px !important;
		width: auto !important;
	}

	.header-nav-panel {
		gap: 10px !important;
	}

	.header-nav-panel .btn {
		min-width: 124px;
	}

	.header-nav-panel .badge.bg-success {
		min-width: 152px;
	}
}

@media (max-width: 760px) {
	.top-separate-logo-strip {
		gap: 12px !important;
	}

	.top-separate-logo-strip .header-logo-iwar {
		max-height: 48px !important;
	}

	.top-separate-logo-strip .header-logo-jcm {
		max-height: 46px !important;
	}

	.top-separate-logo-strip .header-logo-unistop {
		max-height: 28px !important;
	}

	.header-nav-panel .btn {
		min-width: 116px;
	}

	.header-nav-panel .badge.bg-success {
		min-width: 142px;
	}
}


/* ===== Product card height reduction so 2 rows are visible ===== */
.product-browser-main {
	padding: 16px 18px 20px !important;
	min-height: auto !important;
}

.browser-toolbar {
	margin-bottom: 12px !important;
}

.browser-title {
	font-size: 30px !important;
	margin-bottom: 2px !important;
}

.browser-subtitle {
	font-size: 14px !important;
}

#productGrid {
	row-gap: 16px !important;
}

.browser-product-card {
	min-height: 348px !important;
	padding: 14px 12px 14px !important;
}

.browser-product-image-wrap {
	height: 150px !important;
	margin-bottom: 10px !important;
	padding: 8px !important;
}

.browser-product-image {
	height: 128px !important;
}

.browser-product-title {
	min-height: 64px !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	margin-bottom: 10px !important;
	-webkit-line-clamp: 3 !important;
}

.browser-product-price {
	font-size: 18px !important;
	padding: 6px 14px !important;
	margin-bottom: 6px !important;
	min-width: 126px !important;
}

.browser-product-stock {
	font-size: 12px !important;
	min-height: 18px !important;
	margin-bottom: 10px !important;
}

.browser-product-controls {
	min-height: 52px !important;
	gap: 10px !important;
}

.touch-qty-btn {
	min-width: 48px !important;
	width: 48px !important;
	min-height: 48px !important;
	height: 48px !important;
	font-size: 24px !important;
	border-radius: 12px !important;
}

.touch-qty-display {
	min-width: 40px !important;
	width: 40px !important;
	min-height: 48px !important;
	height: 48px !important;
	font-size: 24px !important;
}

.product-visible-tag.out-tag {
	font-size: 11px !important;
	padding: 8px 14px !important;
}

@media (orientation: portrait),
(max-width: 980px) {
	.product-browser-main {
		padding: 14px 14px 18px !important;
	}

	.browser-product-card {
		min-height: 336px !important;
	}

	.browser-product-image-wrap {
		height: 140px !important;
	}

	.browser-product-image {
		height: 118px !important;
	}

	.browser-product-title {
		min-height: 58px !important;
		font-size: 14px !important;
	}

	.browser-product-price {
		font-size: 17px !important;
	}

	.touch-qty-btn {
		min-width: 44px !important;
		width: 44px !important;
		min-height: 44px !important;
		height: 44px !important;
		font-size: 22px !important;
	}

	.touch-qty-display {
		min-width: 38px !important;
		width: 38px !important;
		min-height: 44px !important;
		height: 44px !important;
		font-size: 22px !important;
	}
}

@media (max-width: 760px) {
	.browser-product-card {
		min-height: 328px !important;
	}
}


/* ===== V18 compact portrait optimization ===== */

/* tighter top area */
.kiosk-bg {
	padding-top: 12px !important;
	padding-left: 18px !important;
	padding-right: 18px !important;
	padding-bottom: 146px !important;
}

.separate-logo-header-card {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-bottom: 8px !important;
}

.top-separate-logo-strip .header-logo-iwar {
	max-height: 64px !important;
}

.top-separate-logo-strip .header-logo-jcm {
	max-height: 66px !important;
}

.top-separate-logo-strip .header-logo-unistop {
	max-height: 38px !important;
}

.separate-nav-toolbar {
	padding: 0 0 8px !important;
	margin-bottom: 10px !important;
}

.header-nav-panel {
	gap: 12px !important;
}

.header-nav-panel .btn {
	min-width: 132px !important;
}

/* layout + full-height sidebar */
.product-browser-layout {
	align-items: stretch !important;
	min-height: calc(100vh - 280px);
}

.plain-category-sidebar {
	min-height: calc(100vh - 280px);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.plain-help-card {
	margin-top: auto;
}

/* more compact content so two rows fit */
.product-browser-main {
	padding: 14px 16px 14px !important;
	min-height: calc(100vh - 280px) !important;
}

.browser-toolbar {
	margin-bottom: 10px !important;
}

.browser-title {
	font-size: 28px !important;
	margin-bottom: 0 !important;
	line-height: 1.05 !important;
}

.browser-subtitle {
	font-size: 14px !important;
}

#productGrid {
	row-gap: 10px !important;
	column-gap: 0 !important;
}

#productGrid>.product-col {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.browser-product-card {
	min-height: 292px !important;
	padding: 10px 10px 10px !important;
	border-radius: 18px !important;
}

.browser-product-image-wrap {
	height: 105px !important;
	margin-bottom: 8px !important;
	padding: 6px !important;
	border-radius: 16px !important;
}

.browser-product-image {
	height: 90px !important;
}

.browser-product-title {
	min-height: 46px !important;
	font-size: 12px !important;
	line-height: 1.15 !important;
	margin-bottom: 8px !important;
	-webkit-line-clamp: 2 !important;
}

.browser-product-price {
	font-size: 15px !important;
	padding: 5px 12px !important;
	margin-bottom: 4px !important;
	min-width: 116px !important;
}

.browser-product-stock {
	font-size: 11px !important;
	min-height: 16px !important;
	margin-bottom: 8px !important;
}

.browser-product-controls {
	gap: 8px !important;
	min-height: 42px !important;
}

.touch-qty-btn {
	min-width: 38px !important;
	width: 38px !important;
	min-height: 38px !important;
	height: 38px !important;
	font-size: 22px !important;
	border-radius: 10px !important;
}

.touch-qty-display {
	min-width: 30px !important;
	width: 30px !important;
	min-height: 38px !important;
	height: 38px !important;
	font-size: 24px !important;
}

.product-visible-tag.out-tag {
	font-size: 10px !important;
	padding: 6px 12px !important;
}

/* smaller bottom bar so product grid can show 2 rows */
.vertical-order-dock {
	bottom: 64px !important;
	min-height: 66px !important;
	grid-template-columns: 90px 1fr auto !important;
}

.order-basket-icon {
	height: 66px !important;
}

.basket-body {
	width: 36px !important;
	height: 26px !important;
	border-width: 5px !important;
}

.basket-handle {
	width: 42px !important;
	height: 22px !important;
	border-width: 5px !important;
	margin-top: -20px !important;
}

.order-preview-strip {
	padding: 10px 16px !important;
}

.order-preview-strip .fw-bold {
	font-size: 18px !important;
}

.order-preview-strip .text-muted {
	font-size: 12px !important;
}

.order-dock-total {
	padding: 0 18px !important;
	font-size: 28px !important;
}

/* smaller action row */
.vertical-action-row {
	gap: 20px !important;
	padding: 10px 34px 12px !important;
	min-height: 64px !important;
}

.start-over-btn,
.review-orders-btn {
	min-height: 52px !important;
	font-size: 18px !important;
	letter-spacing: 5px !important;
}

/* explicit hover/focus colors so buttons stay visible */
.start-over-btn,
.start-over-btn:hover,
.start-over-btn:focus,
.start-over-btn:active {
	background: #ff6366 !important;
	color: #ffffff !important;
	border-color: #ff6366 !important;
	box-shadow: none !important;
}

.review-orders-btn,
.review-orders-btn:hover,
.review-orders-btn:focus,
.review-orders-btn:active {
	background: #064b63 !important;
	color: #ffffff !important;
	border-color: #064b63 !important;
	box-shadow: none !important;
}

/* portrait / vertical UI: preserve 3 columns while fitting two rows */
body.force-vertical-ui .product-browser-layout {
	grid-template-columns: 190px 1fr !important;
	min-height: calc(100vh - 280px) !important;
}

body.force-vertical-ui .plain-category-sidebar {
	min-height: calc(100vh - 280px) !important;
}

body.force-vertical-ui .product-browser-main {
	min-height: calc(100vh - 280px) !important;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333% !important;
}

body.force-vertical-ui .browser-product-card {
	min-height: 286px !important;
}

body.force-vertical-ui .browser-product-image-wrap {
	height: 100px !important;
}

body.force-vertical-ui .browser-product-image {
	height: 86px !important;
}

body.force-vertical-ui .browser-product-title {
	min-height: 44px !important;
	font-size: 11px !important;
}

body.force-vertical-ui .browser-product-price {
	font-size: 14px !important;
	min-width: 110px !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 36px !important;
	width: 36px !important;
	min-height: 36px !important;
	height: 36px !important;
	font-size: 20px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 28px !important;
	width: 28px !important;
	min-height: 36px !important;
	height: 36px !important;
	font-size: 22px !important;
}

@media (max-width: 980px) {
	.kiosk-bg {
		padding-left: 14px !important;
		padding-right: 14px !important;
		padding-bottom: 142px !important;
	}

	.top-separate-logo-strip {
		grid-template-columns: repeat(3, auto) !important;
		gap: 14px !important;
	}

	.top-separate-logo-strip .header-logo-iwar {
		max-height: 56px !important;
	}

	.top-separate-logo-strip .header-logo-jcm {
		max-height: 58px !important;
	}

	.top-separate-logo-strip .header-logo-unistop {
		max-height: 34px !important;
	}

	.header-nav-panel .btn {
		min-width: 124px !important;
	}
}

@media (max-width: 760px) {

	/* keep mobile fallback sane */
	.product-browser-layout {
		grid-template-columns: 1fr !important;
		min-height: auto !important;
	}

	.plain-category-sidebar,
	.product-browser-main {
		min-height: auto !important;
	}

	#productGrid>.product-col,
	body.force-vertical-ui #productGrid>.product-col {
		width: 100% !important;
	}
}


/* ===== Static sidebar + scroll only the Select Products area ===== */
html,
body {
	height: 100%;
}

body {
	margin: 0;
}

.kiosk-bg {
	height: 100vh !important;
	overflow: hidden !important;
	padding-bottom: 138px !important;
}

.product-browser-layout {
	height: calc(100vh - 214px) !important;
	min-height: calc(100vh - 214px) !important;
	overflow: hidden !important;
	align-items: stretch !important;
}

.plain-category-sidebar {
	position: static !important;
	top: auto !important;
	height: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
}

.product-browser-main {
	height: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 12px 14px 12px !important;
}

.browser-toolbar {
	flex: 0 0 auto !important;
	margin-bottom: 8px !important;
}

#productGrid {
	flex: 1 1 auto !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding-right: 4px !important;
	padding-bottom: 6px !important;
	row-gap: 8px !important;
	align-content: start !important;
}

/* Slightly smaller cards so 2 rows fit better */
.browser-product-card {
	min-height: 274px !important;
	padding: 9px 9px 10px !important;
}

.browser-product-image-wrap {
	height: 94px !important;
	margin-bottom: 6px !important;
	padding: 4px !important;
}

.browser-product-image {
	height: 80px !important;
}

.browser-product-title {
	min-height: 40px !important;
	font-size: 11px !important;
	line-height: 1.1 !important;
	margin-bottom: 6px !important;
	-webkit-line-clamp: 2 !important;
}

.browser-product-price {
	font-size: 14px !important;
	padding: 4px 10px !important;
	margin-bottom: 3px !important;
	min-width: 104px !important;
}

.browser-product-stock {
	font-size: 10px !important;
	min-height: 14px !important;
	margin-bottom: 6px !important;
}

.browser-product-controls {
	gap: 8px !important;
	min-height: 38px !important;
}

.touch-qty-btn {
	min-width: 34px !important;
	width: 34px !important;
	min-height: 34px !important;
	height: 34px !important;
	font-size: 18px !important;
	border-radius: 9px !important;
}

.touch-qty-display {
	min-width: 26px !important;
	width: 26px !important;
	min-height: 34px !important;
	height: 34px !important;
	font-size: 20px !important;
}

.product-visible-tag.out-tag {
	font-size: 9px !important;
	padding: 5px 10px !important;
}

/* Keep bottom summary compact and fixed */
.vertical-order-dock {
	bottom: 58px !important;
	min-height: 58px !important;
}

.order-basket-icon {
	height: 58px !important;
}

.order-preview-strip {
	padding: 8px 14px !important;
}

.order-preview-strip .fw-bold {
	font-size: 16px !important;
}

.order-preview-strip .text-muted {
	font-size: 11px !important;
}

.order-dock-total {
	font-size: 24px !important;
	padding: 0 14px !important;
}

.vertical-action-row {
	padding: 8px 28px 10px !important;
	gap: 18px !important;
}

.start-over-btn,
.review-orders-btn {
	min-height: 48px !important;
	font-size: 17px !important;
	letter-spacing: 4px !important;
}

/* Scrollbar styling for product pane */
#productGrid::-webkit-scrollbar {
	width: 10px;
}

#productGrid::-webkit-scrollbar-track {
	background: #eef2f7;
	border-radius: 999px;
}

#productGrid::-webkit-scrollbar-thumb {
	background: #c5d1df;
	border-radius: 999px;
}

#productGrid::-webkit-scrollbar-thumb:hover {
	background: #aebdce;
}

/* Vertical UI mode: same behavior, only product area scrolls */
body.force-vertical-ui,
body.force-vertical-ui html {
	overflow: hidden !important;
}

body.force-vertical-ui .kiosk-bg {
	height: 100vh !important;
	overflow: hidden !important;
}

body.force-vertical-ui .product-browser-layout {
	height: calc(100vh - 214px) !important;
	min-height: calc(100vh - 214px) !important;
	overflow: hidden !important;
}

body.force-vertical-ui .plain-category-sidebar {
	height: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
}

body.force-vertical-ui .product-browser-main {
	height: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333% !important;
}

body.force-vertical-ui .browser-product-card {
	min-height: 270px !important;
}

body.force-vertical-ui .browser-product-image-wrap {
	height: 90px !important;
}

body.force-vertical-ui .browser-product-image {
	height: 76px !important;
}

body.force-vertical-ui .browser-product-title {
	min-height: 38px !important;
	font-size: 10.5px !important;
}

body.force-vertical-ui .browser-product-price {
	font-size: 13px !important;
	min-width: 100px !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 32px !important;
	width: 32px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 17px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 24px !important;
	width: 24px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 18px !important;
}

/* Safe mobile fallback */
@media (max-width: 760px) {

	html,
	body,
	.kiosk-bg {
		overflow: auto !important;
		height: auto !important;
	}

	.product-browser-layout,
	.product-browser-main,
	.plain-category-sidebar {
		height: auto !important;
		min-height: auto !important;
		overflow: visible !important;
	}

	#productGrid {
		overflow: visible !important;
		flex: none !important;
	}
}


/* ===== Bottom visibility fix for last-row quantity buttons ===== */

/* Give the product-scrolling area extra bottom breathing room so
   the fixed Current Order / Start Over / Review Orders bars do not
   cover the last row of product controls. */
#productGrid {
	padding-bottom: 150px !important;
	margin-bottom: 0 !important;
}

/* Slightly increase the page bottom reserve as an extra safety gap */
.kiosk-bg {
	padding-bottom: 150px !important;
}

/* Refine fixed bottom sections spacing */
.vertical-order-dock {
	bottom: 62px !important;
}

.vertical-action-row {
	padding-top: 8px !important;
	padding-bottom: 10px !important;
}

/* Keep the product area height calculation aligned with the new
   bottom reserved space */
.product-browser-layout {
	height: calc(100vh - 214px) !important;
	min-height: calc(100vh - 214px) !important;
}

.product-browser-main {
	padding-bottom: 8px !important;
}

/* Vertical UI mode should also keep the last row fully visible */
body.force-vertical-ui #productGrid {
	padding-bottom: 150px !important;
}

@media (max-width: 980px) {

	#productGrid,
	body.force-vertical-ui #productGrid {
		padding-bottom: 160px !important;
	}

	.vertical-order-dock {
		bottom: 60px !important;
	}
}


/* ===== Lower product bottom spacing adjustment ===== */
/* Reduced the extra padding that was added inside Select Products.
   This keeps the last-row buttons visible but removes the excessive
   blank space below the products. */
#productGrid {
	padding-bottom: 90px !important;
}

body.force-vertical-ui #productGrid {
	padding-bottom: 90px !important;
}

@media (max-width: 980px) {

	#productGrid,
	body.force-vertical-ui #productGrid {
		padding-bottom: 100px !important;
	}
}


/* ===== Start Over / Review Orders as footer instead of floating panel ===== */
html,
body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

/* Main page takes the remaining viewport height above the footer stack */
.kiosk-bg {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	padding-bottom: 10px !important;
}

/* Keep headers at natural height, let the content area fill the rest */
.product-browser-layout {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
}

.plain-category-sidebar {
	height: 100% !important;
	min-height: 0 !important;
}

.product-browser-main {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
}

#productGrid {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding-bottom: 18px !important;
}

/* Footer stack: no floating/fixed panels */
.vertical-order-dock {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	z-index: auto !important;
	flex: 0 0 auto !important;
	min-height: 58px !important;
	margin-top: 0 !important;
	box-shadow: none !important;
}

.vertical-action-row {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	z-index: auto !important;
	flex: 0 0 auto !important;
	background: #ffffff !important;
	padding: 8px 26px 12px !important;
	min-height: auto !important;
	border-top: none !important;
}

/* Remove extra reserve space now that footer is not overlaying content */
body.force-vertical-ui #productGrid,
#productGrid {
	padding-bottom: 18px !important;
}

body.force-vertical-ui .kiosk-bg {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
}

body.force-vertical-ui .product-browser-layout {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
}

body.force-vertical-ui .product-browser-main {
	min-height: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
}

@media (max-width: 760px) {

	html,
	body {
		overflow: auto !important;
		display: block;
	}

	.kiosk-bg {
		display: block !important;
		height: auto !important;
	}

	.vertical-order-dock,
	.vertical-action-row {
		position: static !important;
	}
}


/* ===== Final footer layout fix: static sidebar, products-only scroll, no blank middle gap ===== */

/* Full-screen kiosk frame */
html,
body {
	height: 100%;
	margin: 0;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #f4f7fb;
}

/* Main screen area above the footer */
.kiosk-bg {
	height: auto !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 10px 18px 10px !important;
}

/* Keep headers compact so the product area gets more vertical space */
.separate-logo-header-card {
	flex: 0 0 auto !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	margin-bottom: 6px !important;
}

.top-separate-logo-strip .header-logo-iwar {
	max-height: 90px !important;
}

.top-separate-logo-strip .header-logo-jcm {
	max-height: 62px !important;
}

.top-separate-logo-strip .header-logo-unistop {
	max-height: 50px !important;
}

.separate-nav-toolbar {
	flex: 0 0 auto !important;
	padding: 0 0 8px !important;
	margin-bottom: 8px !important;
}

.header-nav-panel {
	gap: 12px !important;
}

.header-nav-panel .btn {
	min-width: 126px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* Product + sidebar region fills all remaining space above footer */
.product-browser-layout {
	height: auto !important;
	display: grid !important;
	grid-template-columns: 205px 1fr !important;
	gap: 14px !important;
	align-items: stretch !important;
}

/* Sidebar stays static and full-height */
.plain-category-sidebar {
	position: static !important;
	top: auto !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 18px !important;
}

.plain-help-card {
	margin-top: auto !important;
}

/* Only Select Products scrolls */
.product-browser-main {
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 12px 14px 10px !important;
}

.browser-toolbar {
	flex: 0 0 auto !important;
	margin-bottom: 8px !important;
}

.browser-title {
	font-size: 28px !important;
	line-height: 1 !important;
	margin: 0 0 2px !important;
}

.browser-subtitle {
	font-size: 13px !important;
}

/* The grid itself is the scroll pane */
#productGrid {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	align-content: start !important;
	row-gap: 10px !important;
	padding-right: 4px !important;
	padding-bottom: 18px !important;
	margin: 0 !important;
}

#productGrid>.product-col {
	width: 33.333333% !important;
	padding-left: 7px !important;
	padding-right: 7px !important;
}

/* More compact product card so 2 rows are visible */
.browser-product-card {
	min-height: 270px !important;
	padding: 9px 9px 10px !important;
	border-radius: 18px !important;
	display: flex !important;
	flex-direction: column !important;
}

.browser-product-image-wrap {
	height: 120px !important;
	min-height: 92px !important;
	margin-bottom: 6px !important;
	padding: 4px !important;
	border-radius: 15px !important;
}

.browser-product-image {
	height: 100px !important;
}

.browser-product-title {
	min-height: 38px !important;
	max-height: 38px !important;
	font-size: 10.5px !important;
	line-height: 1.12 !important;
	margin-bottom: 6px !important;
	-webkit-line-clamp: 2 !important;
}

.browser-product-price {
	font-size: 13px !important;
	padding: 4px 9px !important;
	min-width: 96px !important;
	margin-bottom: 3px !important;
}

.browser-product-stock {
	font-size: 9.5px !important;
	min-height: 13px !important;
	margin-bottom: 6px !important;
}

.browser-product-controls {
	margin-top: auto !important;
	min-height: 34px !important;
	gap: 7px !important;
}

.touch-qty-btn {
	min-width: 32px !important;
	width: 50px !important;
	min-height: 32px !important;
	height: 50px !important;
	font-size: 17px !important;
	border-radius: 8px !important;
}

.touch-qty-display {
	min-width: 24px !important;
	width: 24px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 18px !important;
}

.product-visible-tag.out-tag {
	font-size: 9px !important;
	padding: 5px 10px !important;
}

/* Footer summary and actions are part of layout, not floating */
.vertical-order-dock {
	position: static !important;
	flex: 0 0 auto !important;
	min-height: 56px !important;
	margin: 0 !important;
	border-top: 3px solid #064b63 !important;
	border-bottom: 3px solid #064b63 !important;
	box-shadow: none !important;
	grid-template-columns: 90px 1fr auto !important;
}

.order-basket-icon {
	height: 56px !important;
}

.basket-body {
	width: 34px !important;
	height: 24px !important;
	border-width: 5px !important;
}

.basket-handle {
	width: 40px !important;
	height: 20px !important;
	border-width: 5px !important;
	margin-top: -19px !important;
}

.order-preview-strip {
	padding: 7px 14px !important;
}

.order-preview-strip .fw-bold {
	font-size: 16px !important;
}

.order-preview-strip .text-muted {
	font-size: 10px !important;
}

.order-dock-total {
	font-size: 24px !important;
	padding: 0 14px !important;
}

/* Footer buttons */
.vertical-action-row {
	position: static !important;
	flex: 0 0 auto !important;
	background: #ffffff !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 18px !important;
	padding: 8px 34px 10px !important;
	min-height: auto !important;
	border-top: none !important;
}

.start-over-btn,
.review-orders-btn {
	min-height: 46px !important;
	font-size: 17px !important;
	letter-spacing: 4px !important;
	color: #ffffff !important;
}

.start-over-btn,
.start-over-btn:hover,
.start-over-btn:focus,
.start-over-btn:active {
	background: #ff6366 !important;
	color: #ffffff !important;
	border-color: #ff6366 !important;
}

.review-orders-btn,
.review-orders-btn:hover,
.review-orders-btn:focus,
.review-orders-btn:active {
	background: #064b63 !important;
	color: #ffffff !important;
	border-color: #064b63 !important;
}

/* Keep Vertical UI using the same 3-column product grid */
body.force-vertical-ui .kiosk-bg {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}

body.force-vertical-ui .product-browser-layout {
	grid-template-columns: 205px 1fr !important;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333% !important;
}

body.force-vertical-ui .browser-product-card {
	min-height: 270px !important;
}

/* Product pane scrollbar */
#productGrid::-webkit-scrollbar {
	width: 9px;
}

#productGrid::-webkit-scrollbar-track {
	background: #eef2f7;
	border-radius: 999px;
}

#productGrid::-webkit-scrollbar-thumb {
	background: #c2cedd;
	border-radius: 999px;
}

#productGrid::-webkit-scrollbar-thumb:hover {
	background: #aebdce;
}

/* Small-screen fallback */
@media (max-width: 760px) {

	html,
	body {
		overflow: auto !important;
		display: block !important;
	}

	.kiosk-bg {
		height: auto !important;
		display: block !important;
		overflow: visible !important;
	}

	.product-browser-layout {
		grid-template-columns: 1fr !important;
		height: auto !important;
		overflow: visible !important;
	}

	.plain-category-sidebar,
	.product-browser-main {
		height: auto !important;
		overflow: visible !important;
	}

	#productGrid {
		overflow: visible !important;
	}

	#productGrid>.product-col,
	body.force-vertical-ui #productGrid>.product-col {
		width: 100% !important;
	}
}


/* ===== Vertical UI repair patch ===== */
/* Strong overrides to cancel older legacy vertical-mode rules. */

body.force-vertical-ui {
	background: #f4f7fb !important;
	overflow: hidden !important;
}

body.force-vertical-ui .kiosk-bg {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 10px 18px 8px !important;
	padding-bottom: 8px !important;
	background: #f4f7fb !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
}

body.force-vertical-ui .separate-logo-header-card {
	flex: 0 0 auto !important;
	margin-bottom: 6px !important;
	border-radius: 30px !important;
}

body.force-vertical-ui .separate-nav-toolbar {
	flex: 0 0 auto !important;
	margin-bottom: 8px !important;
	padding-bottom: 8px !important;
}

body.force-vertical-ui .product-browser-layout {
	display: grid !important;
	grid-template-columns: 205px 1fr !important;
	gap: 14px !important;
	align-items: stretch !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
}

body.force-vertical-ui .plain-category-sidebar {
	position: static !important;
	top: auto !important;
	height: 100% !important;
	min-height: 0 !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	border-radius: 28px !important;
}

body.force-vertical-ui .plain-help-card {
	margin-top: auto !important;
}

body.force-vertical-ui .product-browser-main {
	min-height: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	border-radius: 28px !important;
}

body.force-vertical-ui .browser-toolbar {
	flex: 0 0 auto !important;
	margin-bottom: 8px !important;
}

body.force-vertical-ui #productGrid {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	align-content: start !important;
	row-gap: 10px !important;
	margin: 0 !important;
	padding-right: 4px !important;
	padding-bottom: 18px !important;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333% !important;
	padding-left: 7px !important;
	padding-right: 7px !important;
}

body.force-vertical-ui .browser-product-card {
	min-height: 270px !important;
}

body.force-vertical-ui .browser-product-image-wrap {
	height: 120px !important;
	min-height: 92px !important;
}

body.force-vertical-ui .browser-product-image {
	height: 78px !important;
}

body.force-vertical-ui .browser-product-title {
	min-height: 38px !important;
	max-height: 38px !important;
	font-size: 10.5px !important;
	line-height: 1.12 !important;
	-webkit-line-clamp: 2 !important;
}

body.force-vertical-ui .browser-product-price {
	min-width: 96px !important;
	font-size: 13px !important;
}

body.force-vertical-ui .browser-product-stock {
	font-size: 9.5px !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 32px !important;
	width: 32px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 17px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 24px !important;
	width: 24px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 18px !important;
}

/* Footer must be full-width layout elements, not narrowed by legacy rules */
body.force-vertical-ui .vertical-order-dock,
body.force-vertical-ui .vertical-action-row {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.force-vertical-ui .vertical-order-dock {
	flex: 0 0 auto !important;
	min-height: 56px !important;
	display: grid !important;
	grid-template-columns: 90px 1fr auto !important;
	border-top: 3px solid #064b63 !important;
	border-bottom: 3px solid #064b63 !important;
	box-shadow: none !important;
}

body.force-vertical-ui .vertical-action-row {
	flex: 0 0 auto !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 18px !important;
	padding: 8px 34px 10px !important;
	background: #ffffff !important;
	border-top: none !important;
}

body.force-vertical-ui .start-over-btn,
body.force-vertical-ui .review-orders-btn {
	min-height: 46px !important;
	width: 100% !important;
}

/* Prevent legacy portrait rules from collapsing to mobile-like layout */
@media (orientation: portrait),
(max-width: 980px) {
	body.force-vertical-ui .product-browser-layout {
		grid-template-columns: 205px 1fr !important;
	}

	body.force-vertical-ui #productGrid>.product-col {
		width: 33.333333% !important;
	}

	body.force-vertical-ui .vertical-action-row {
		grid-template-columns: 1fr 1fr !important;
	}

	body.force-vertical-ui .vertical-order-dock {
		grid-template-columns: 90px 1fr auto !important;
	}
}


/* ===== Portrait-style Vertical UI mode ===== */
/* Desktop UI remains full-width. Vertical UI becomes a centered portrait kiosk canvas. */

body.force-vertical-ui {
	background: #e9eef5 !important;
	overflow: hidden !important;
}

/* Make Vertical UI visibly different from Desktop UI */
body.force-vertical-ui .kiosk-bg {
	width: min(100%, 940px) !important;
	max-width: 940px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 10px 16px 10px !important;
	background: #f4f7fb !important;
	box-shadow: 0 0 34px rgba(15, 23, 42, 0.10);
}

/* Portrait header sizing */
body.force-vertical-ui .separate-logo-header-card {
	border-radius: 24px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-bottom: 8px !important;
}

body.force-vertical-ui .top-separate-logo-strip {
	grid-template-columns: repeat(3, auto) !important;
	gap: 18px !important;
	justify-content: center !important;
	align-items: center !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-iwar {
	max-height: 90px !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-jcm {
	max-height: 56px !important;
}

body.force-vertical-ui .top-separate-logo-strip .header-logo-unistop {
	max-height: 50px !important;
	width: auto !important;
}

/* Portrait nav row */
body.force-vertical-ui .separate-nav-toolbar {
	width: min(100%, 940px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 8px !important;
}

body.force-vertical-ui .header-nav-panel {
	justify-content: center !important;
	gap: 10px !important;
}

body.force-vertical-ui .header-nav-panel .btn {
	min-width: 132px !important;
	padding-top: 9px !important;
	padding-bottom: 9px !important;
}

/* Portrait content layout: sidebar + 3 product columns */
body.force-vertical-ui .product-browser-layout {
	grid-template-columns: 180px 1fr !important;
	gap: 12px !important;
	height: auto !important;
	min-height: 0 !important;
	flex: 1 1 auto !important;
	overflow: hidden !important;
}

body.force-vertical-ui .plain-category-sidebar {
	border-radius: 22px !important;
	padding: 16px !important;
}

body.force-vertical-ui .plain-category-header h2 {
	font-size: 24px !important;
}

body.force-vertical-ui .plain-category-header p {
	font-size: 13px !important;
}

body.force-vertical-ui .plain-category-btn,
body.force-vertical-ui .plain-help-card {
	padding: 14px 14px 12px !important;
	border-radius: 18px !important;
	margin-bottom: 10px !important;
}

body.force-vertical-ui .plain-category-title {
	font-size: 16px !important;
}

body.force-vertical-ui .plain-category-desc {
	font-size: 12px !important;
}

/* Product pane remains the only scrollable area */
body.force-vertical-ui .product-browser-main {
	border-radius: 22px !important;
	padding: 12px 12px 10px !important;
}

body.force-vertical-ui .browser-title {
	font-size: 26px !important;
}

body.force-vertical-ui .browser-subtitle {
	font-size: 12px !important;
}

body.force-vertical-ui #productGrid {
	overflow-y: auto !important;
	overflow-x: hidden !important;
	row-gap: 8px !important;
	padding-bottom: 14px !important;
}

body.force-vertical-ui #productGrid>.product-col {
	width: 33.333333% !important;
	padding-left: 6px !important;
	padding-right: 6px !important;
}

/* Compact portrait product cards */
body.force-vertical-ui .browser-product-card {
	min-height: 252px !important;
	padding: 8px !important;
	border-radius: 16px !important;
}

body.force-vertical-ui .browser-product-image-wrap {
	height: 82px !important;
	min-height: 82px !important;
	margin-bottom: 5px !important;
	border-radius: 14px !important;
}

body.force-vertical-ui .browser-product-image {
	height: 70px !important;
}

body.force-vertical-ui .browser-product-title {
	min-height: 34px !important;
	max-height: 34px !important;
	font-size: 9.8px !important;
	line-height: 1.12 !important;
	margin-bottom: 5px !important;
}

body.force-vertical-ui .browser-product-price {
	min-width: 86px !important;
	font-size: 12px !important;
	padding: 3px 8px !important;
	margin-bottom: 3px !important;
}

body.force-vertical-ui .browser-product-stock {
	font-size: 9px !important;
	min-height: 12px !important;
	margin-bottom: 5px !important;
}

body.force-vertical-ui .browser-product-controls {
	min-height: 30px !important;
	gap: 6px !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 30px !important;
	width: 30px !important;
	min-height: 30px !important;
	height: 30px !important;
	font-size: 16px !important;
	border-radius: 8px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 22px !important;
	width: 22px !important;
	min-height: 30px !important;
	height: 30px !important;
	font-size: 17px !important;
}

/* Footer follows the portrait canvas, not full desktop width */
body.force-vertical-ui .vertical-order-dock,
body.force-vertical-ui .vertical-action-row {
	width: min(100%, 940px) !important;
	max-width: 940px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.force-vertical-ui .vertical-order-dock {
	min-height: 54px !important;
	grid-template-columns: 82px 1fr auto !important;
}

body.force-vertical-ui .order-basket-icon {
	height: 54px !important;
}

body.force-vertical-ui .order-preview-strip {
	padding: 6px 12px !important;
}

body.force-vertical-ui .order-preview-strip .fw-bold {
	font-size: 15px !important;
}

body.force-vertical-ui .order-preview-strip .text-muted {
	font-size: 10px !important;
}

body.force-vertical-ui .order-dock-total {
	font-size: 22px !important;
	padding: 0 12px !important;
}

body.force-vertical-ui .vertical-action-row {
	grid-template-columns: 1fr 1fr !important;
	gap: 14px !important;
	padding: 8px 28px 10px !important;
}

body.force-vertical-ui .start-over-btn,
body.force-vertical-ui .review-orders-btn {
	min-height: 44px !important;
	font-size: 15px !important;
	letter-spacing: 4px !important;
}

/* Very narrow fallback */
@media (max-width: 760px) {

	body.force-vertical-ui .kiosk-bg,
	body.force-vertical-ui .vertical-order-dock,
	body.force-vertical-ui .vertical-action-row {
		width: 100% !important;
		max-width: none !important;
	}

	body.force-vertical-ui .product-browser-layout {
		grid-template-columns: 1fr !important;
	}

	body.force-vertical-ui #productGrid>.product-col {
		width: 100% !important;
	}
}


/* ===== Product size adjustment ===== */
/* Slightly enlarge product cards/content for a better balance in Vertical UI. */

body.force-vertical-ui #productGrid {
	row-gap: 12px !important;
}

body.force-vertical-ui #productGrid>.product-col {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

body.force-vertical-ui .browser-product-card {
	min-height: 278px !important;
	padding: 10px !important;
	border-radius: 18px !important;
}

body.force-vertical-ui .browser-product-image-wrap {
	height: 94px !important;
	min-height: 94px !important;
	margin-bottom: 6px !important;
	padding: 5px !important;
	border-radius: 15px !important;
}

body.force-vertical-ui .browser-product-image {
	height: 80px !important;
}

body.force-vertical-ui .browser-product-title {
	min-height: 40px !important;
	max-height: 40px !important;
	font-size: 10.8px !important;
	line-height: 1.15 !important;
	margin-bottom: 6px !important;
}

body.force-vertical-ui .browser-product-price {
	min-width: 98px !important;
	font-size: 13px !important;
	padding: 4px 10px !important;
	margin-bottom: 4px !important;
}

body.force-vertical-ui .browser-product-stock {
	font-size: 9.5px !important;
	min-height: 13px !important;
	margin-bottom: 6px !important;
}

body.force-vertical-ui .browser-product-controls {
	min-height: 34px !important;
	gap: 7px !important;
}

body.force-vertical-ui .touch-qty-btn {
	min-width: 32px !important;
	width: 50px !important;
	min-height: 32px !important;
	height: 50px !important;
	font-size: 17px !important;
}

body.force-vertical-ui .touch-qty-display {
	min-width: 24px !important;
	width: 24px !important;
	min-height: 32px !important;
	height: 32px !important;
	font-size: 18px !important;
}

/* Mild desktop adjustment too, so both modes feel consistent */
.browser-product-card {
	border-radius: 18px !important;
}

.browser-product-image-wrap {
	border-radius: 15px !important;
}


/* ===== Footer cart icon image ===== */
.order-basket-icon {
	overflow: hidden !important;
	padding: 8px !important;
}

.footer-cart-icon-image {
	width: 72px !important;
	max-width: 72px !important;
	height: 72px !important;
	object-fit: contain !important;
	display: block !important;
	filter: brightness(0) invert(1);
}

.basket-handle,
.basket-body {
	display: none !important;
}

body.force-vertical-ui .footer-cart-icon-image {
	width: 60px !important;
	max-width: 60px !important;
	height: 60px !important;
}


/* ===== Visible footer cart icon fix ===== */
.order-basket-icon {
	background: #064b63 !important;
	overflow: hidden !important;
	padding: 8px !important;
}

.footer-cart-icon-image {
	width: 56px !important;
	max-width: 56px !important;
	height: 56px !important;
	object-fit: contain !important;
	display: block !important;
	filter: none !important;
	background: transparent !important;
}

body.force-vertical-ui .footer-cart-icon-image {
	width: 50px !important;
	max-width: 50px !important;
	height: 50px !important;
}


/* ===== Payment Premium UI + Scroll Fix ===== */
/* Payment page must scroll even though the kiosk product page disables body scroll. */
html:has(body.payment-premium-body),
body.payment-premium-body {
	height: auto !important;
	min-height: 100% !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

body.payment-premium-body {
	display: block !important;
	background: #f4f7fb !important;
}

/* Override any kiosk-page overflow rules when viewing payment page */
body.payment-premium-body .premium-payment-page,
body.payment-premium-body .payment-scroll-page {
	min-height: 100vh !important;
	height: auto !important;
	overflow: visible !important;
	padding: 28px !important;
}

/* Premium payment layout refinement */
body.payment-premium-body .premium-payment-shell {
	width: min(100%, 1180px) !important;
	margin: 0 auto !important;
}

body.payment-premium-body .premium-payment-header {
	border-radius: 28px !important;
	padding: 24px 28px !important;
	margin-bottom: 20px !important;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
}

body.payment-premium-body .premium-payment-header h1 {
	font-size: clamp(34px, 4vw, 50px) !important;
	line-height: 1.05 !important;
}

body.payment-premium-body .premium-payment-header p {
	font-size: clamp(16px, 1.8vw, 20px) !important;
}

body.payment-premium-body .premium-card,
body.payment-premium-body .premium-summary {
	border-radius: 28px !important;
	padding: 24px !important;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
}

body.payment-premium-body .premium-method-list {
	gap: 14px !important;
}

body.payment-premium-body .premium-method {
	border-radius: 22px !important;
	padding: 20px 22px !important;
}

body.payment-premium-body .premium-method-title {
	font-size: clamp(20px, 2vw, 26px) !important;
}

body.payment-premium-body .premium-method-text {
	font-size: 15px !important;
}

body.payment-premium-body .premium-check {
	width: 40px !important;
	height: 40px !important;
	font-size: 22px !important;
}

body.payment-premium-body .premium-status {
	border-radius: 18px !important;
	padding: 16px !important;
	margin: 18px 0 !important;
	font-size: 17px !important;
}

body.payment-premium-body .accepted-panel {
	border-radius: 24px !important;
	padding: 22px !important;
}

body.payment-premium-body .channel-card {
	border-radius: 20px !important;
	padding: 18px !important;
}

body.payment-premium-body .channel-title {
	font-size: 18px !important;
	margin-bottom: 12px !important;
}

body.payment-premium-body .payment-logo-card,
body.payment-premium-body .payment-logo {
	min-height: 62px !important;
	border-radius: 14px !important;
	padding: 10px !important;
}

body.payment-premium-body .payment-logo-img {
	max-height: 44px !important;
}

/* Customer email / privacy controls on payment page */
body.payment-premium-body input[type="email"],
body.payment-premium-body .form-control {
	border-radius: 16px !important;
	padding: 14px 16px !important;
}

body.payment-premium-body input[type="checkbox"] {
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	cursor: pointer !important;
}

body.payment-premium-body .form-check,
body.payment-premium-body .privacy-consent-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}

body.payment-premium-body .form-check-label {
	line-height: 1.35 !important;
}

/* Order summary should stay readable and not force the whole layout too tall. */
body.payment-premium-body .premium-summary {
	position: sticky;
	top: 20px;
}

/* Responsive payment layout */
@media (max-width: 991px) {

	body.payment-premium-body .premium-payment-page,
	body.payment-premium-body .payment-scroll-page {
		padding: 18px !important;
	}

	body.payment-premium-body .premium-payment-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 16px !important;
	}

	body.payment-premium-body .premium-summary {
		position: static !important;
	}

	body.payment-premium-body .premium-card,
	body.payment-premium-body .premium-summary {
		padding: 20px !important;
	}
}

@media (max-width: 640px) {

	body.payment-premium-body .premium-payment-page,
	body.payment-premium-body .payment-scroll-page {
		padding: 12px !important;
	}

	body.payment-premium-body .premium-payment-header,
	body.payment-premium-body .premium-card,
	body.payment-premium-body .premium-summary {
		border-radius: 20px !important;
		padding: 16px !important;
	}

	body.payment-premium-body .premium-method {
		padding: 16px !important;
	}
}


/* ===== Touchscreen virtual keyboard for payment email input ===== */
.virtual-keyboard-hint {
	font-size: 13px;
	color: #64748b;
	margin-top: 8px;
}

.virtual-keyboard-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.18);
	z-index: 1040;
}

.virtual-keyboard-backdrop.show-keyboard {
	display: block;
}

.virtual-keyboard-panel {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%) translateY(120%);
	width: min(96vw, 980px);
	background: #ffffff;
	border: 1px solid #dbe4ef;
	border-radius: 28px;
	padding: 18px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
	z-index: 1050;
	transition: transform 0.22s ease;
}

.virtual-keyboard-panel.show-keyboard {
	transform: translateX(-50%) translateY(0);
}

.virtual-keyboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5edf5;
}

.virtual-keyboard-title {
	font-size: 20px;
	font-weight: 900;
	color: #0f172a;
}

.virtual-keyboard-preview {
	font-size: 17px;
	color: #2563eb;
	font-weight: 800;
	margin-top: 4px;
	word-break: break-all;
}

.placeholder-preview {
	color: #94a3b8;
	font-weight: 600;
}

.virtual-keyboard-close {
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 16px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 34px;
	line-height: 1;
	font-weight: 700;
}

.virtual-keyboard-keys {
	display: grid;
	gap: 10px;
}

.keyboard-row {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.keyboard-row button {
	min-width: 64px;
	height: 58px;
	border: 1px solid #cbd5e1;
	border-radius: 16px;
	background: #f8fafc;
	color: #0f172a;
	font-size: 22px;
	font-weight: 900;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
	touch-action: manipulation;
}

.keyboard-row button:active,
.keyboard-row button:hover {
	background: #eaf2ff;
	border-color: #0d6efd;
}

.keyboard-row .wide-key {
	min-width: 104px;
	font-size: 18px;
}

.keyboard-row .danger-key {
	color: #dc3545;
	border-color: #fecdd3;
	background: #fff5f5;
}

.keyboard-row .domain-key {
	min-width: 150px;
	font-size: 17px;
	color: #0d6efd;
}

.keyboard-row .wide-action {
	flex: 1;
	min-width: 150px;
	font-size: 20px;
}

.keyboard-row .secondary-action {
	background: #f8fafc;
}

.keyboard-row .primary-action {
	background: #0d6efd;
	color: #ffffff;
	border-color: #0d6efd;
}

.keyboard-row .active-shift {
	background: #0d6efd;
	color: #ffffff;
	border-color: #0d6efd;
}

body.payment-premium-body .virtual-keyboard-panel {
	max-height: 48vh;
	overflow-y: auto;
}

@media (max-width: 980px) {
	.virtual-keyboard-panel {
		width: 98vw;
		bottom: 8px;
		padding: 12px;
		border-radius: 22px;
	}

	.keyboard-row {
		gap: 5px;
	}

	.keyboard-row button {
		min-width: 42px;
		height: 50px;
		font-size: 18px;
		border-radius: 12px;
	}

	.keyboard-row .wide-key {
		min-width: 78px;
		font-size: 15px;
	}

	.keyboard-row .domain-key {
		min-width: 108px;
		font-size: 13px;
	}

	.keyboard-row .wide-action {
		min-width: 100px;
		font-size: 16px;
	}

	.virtual-keyboard-title {
		font-size: 17px;
	}

	.virtual-keyboard-preview {
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.email-shortcuts {
		flex-wrap: wrap;
	}

	.keyboard-row button {
		min-width: 34px;
		height: 44px;
		font-size: 15px;
	}

	.keyboard-row .domain-key {
		min-width: 96px;
	}
}

/* ===== V19.6 Checkout Modal Quantity Alignment ===== */
.checkout-modal-item {
	background: #f8fafc;
	border: 1px solid #dbe4ef;
	border-radius: 24px;
	padding: 18px;
	margin-bottom: 16px;
}

.checkout-modal-row {
	display: grid;
	grid-template-columns: minmax(360px, 1fr) 250px 180px;
	align-items: center;
	column-gap: 24px;
	width: 100%;
}

.checkout-modal-product {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.checkout-modal-product-info {
	min-width: 0;
}

.checkout-modal-product-name {
	line-height: 1.2;
	word-break: break-word;
}

.checkout-modal-qty-column {
	display: grid;
	grid-template-columns: 72px 56px 72px;
	justify-content: center;
	align-items: center;
	gap: 14px;
}

.checkout-qty-btn {
	width: 72px !important;
	height: 60px !important;
	min-width: 72px !important;
	min-height: 60px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.checkout-qty-value {
	width: 56px !important;
	min-width: 56px !important;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.checkout-modal-price-column {
	text-align: right;
	justify-self: end;
	min-width: 160px;
}

@media (max-width: 992px) {
	.checkout-modal-row {
		grid-template-columns: 1fr;
		row-gap: 18px;
	}

	.checkout-modal-qty-column {
		justify-content: start;
	}

	.checkout-modal-price-column {
		justify-self: start;
		text-align: left;
	}
}


/* ===== V19.7 Modal Alert Boxes ===== */
.kiosk-alert-modal-content {
	overflow: hidden;
}

.kiosk-alert-message {
	background: #f8fafc;
	border: 1px solid #dbe4ef;
	border-radius: 22px;
	padding: 22px;
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.35;
}

#kioskAlertActions {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
}

#kioskAlertActions .btn {
	min-width: 140px;
}

@media (max-width: 640px) {
	.kiosk-alert-message {
		font-size: 17px;
		padding: 18px;
	}

	#kioskAlertActions {
		flex-direction: column;
	}

	#kioskAlertActions .btn {
		width: 100%;
	}
}




/* ===== Payment page: hide technical order fields ===== */
body.payment-premium-body .order-info-display,
body.payment-premium-body .order-info-row,
body.payment-premium-body #orderInfo,
body.payment-premium-body #orderInfoDisplay,
body.payment-premium-body .encoded-qr-value,
body.payment-premium-body .encoded-qr-row,
body.payment-premium-body #encodedQrValue,
body.payment-premium-body #qrValue,
body.payment-premium-body #qrCodeValue {
	display: none !important;
}


/* ===== V19.15 Single Item Cart + Demo Payment + Beneficiary Info ===== */
.selection-locked-card {
	opacity: 0.55;
}

.disabled-product-action,
.disabled-product-action:hover,
.disabled-product-action:focus {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.disabled-payment-method {
	opacity: 0.45;
	cursor: not-allowed !important;
	filter: grayscale(1);
}

.disabled-payment-method .premium-check {
	background: #e5e7eb !important;
	color: #64748b !important;
}

.beneficiary-channel-buttons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.beneficiary-channel-btn {
	min-height: 58px;
	border: 1px solid #cbd5e1;
	border-radius: 18px;
	background: #ffffff;
	color: #0f172a;
	font-size: 16px;
	font-weight: 900;
	box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
}

.beneficiary-channel-btn.active-channel {
	background: #0d6efd;
	border-color: #0d6efd;
	color: #ffffff;
}

.beneficiary-channel-btn.disabled-channel {
	opacity: 0.45;
	cursor: not-allowed;
	filter: grayscale(1);
}

.beneficiary-email-fields {
	margin-top: 14px;
}

@media (max-width: 640px) {
	.beneficiary-channel-buttons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ===== V19.15 Splash Page Full-Screen Fit Fix ===== */
/* Splash should not scroll. It should fit the full visible screen. */
html:has(.splash-page),
body:has(.splash-page) {
	width: 100% !important;
	height: 100vh !important;
	min-height: 100vh !important;
	overflow: hidden !important;
	display: block !important;
	margin: 0 !important;
	background: #f4f7fb !important;
}

.splash-page {
	width: 100vw !important;
	height: 100vh !important;
	min-height: 100vh !important;
	overflow: hidden !important;
	padding: clamp(10px, 1.8vh, 22px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

.splash-card {
	width: min(100%, 980px) !important;
	height: calc(100vh - clamp(20px, 3.6vh, 44px)) !important;
	min-height: 0 !important;
	max-height: calc(100vh - clamp(20px, 3.6vh, 44px)) !important;
	padding: clamp(22px, 3.4vh, 44px) clamp(32px, 4vw, 64px) !important;
	border-radius: clamp(28px, 4vh, 42px) !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

.splash-card .system-pill {
	flex: 0 0 auto !important;
	margin-bottom: clamp(12px, 2vh, 22px) !important;
	padding: clamp(8px, 1.4vh, 12px) clamp(18px, 2.5vw, 24px) !important;
	font-size: clamp(15px, 2vh, 20px) !important;
}

.splash-card .mr-logo-wrap {
	flex: 0 0 auto !important;
	margin-bottom: clamp(14px, 2vh, 24px) !important;
}

.splash-card .mr-logo {
	max-height: clamp(190px, 30vh, 330px) !important;
	width: auto !important;
	max-width: min(78vw, 640px) !important;
	object-fit: contain !important;
}

.splash-subtitle,
.splash-subtitle-clean {
	flex: 0 0 auto !important;
	font-size: clamp(24px, 3.3vh, 38px) !important;
	margin-bottom: clamp(18px, 2.8vh, 36px) !important;
	line-height: 1.15 !important;
}

.splash-hero,
.professional-hero {
	flex: 0 1 auto !important;
	width: min(100%, 820px) !important;
	padding: clamp(18px, 2.6vh, 34px) !important;
	margin-bottom: clamp(18px, 2.8vh, 34px) !important;
	overflow: hidden !important;
}

.process-flow {
	display: grid !important;
	grid-template-columns: 1fr 36px 1fr 36px 1fr !important;
	align-items: center !important;
	gap: clamp(10px, 1.6vw, 18px) !important;
}

.process-step {
	min-height: 0 !important;
	padding: clamp(16px, 2.6vh, 28px) clamp(12px, 1.8vw, 22px) !important;
}

.process-number {
	width: clamp(46px, 6vh, 58px) !important;
	height: clamp(46px, 6vh, 58px) !important;
	font-size: clamp(22px, 3vh, 30px) !important;
	margin-bottom: clamp(10px, 1.5vh, 18px) !important;
}

.process-title {
	font-size: clamp(17px, 2.3vh, 24px) !important;
	line-height: 1.2 !important;
	margin-bottom: clamp(8px, 1.3vh, 12px) !important;
}

.process-text {
	font-size: clamp(12px, 1.6vh, 16px) !important;
	line-height: 1.35 !important;
}

.splash-start-btn {
	flex: 0 0 auto !important;
	padding: clamp(16px, 2.3vh, 28px) clamp(24px, 3vw, 36px) !important;
	font-size: clamp(24px, 3.4vh, 36px) !important;
	border-radius: clamp(20px, 3vh, 28px) !important;
}

.splash-footer {
	flex: 0 0 auto !important;
	margin-top: clamp(10px, 1.6vh, 18px) !important;
	font-size: clamp(11px, 1.4vh, 14px) !important;
}

@media (max-height: 850px) {
	.splash-card {
		padding: 22px 42px !important;
	}

	.splash-card .mr-logo {
		max-height: 250px !important;
	}

	.splash-hero,
	.professional-hero {
		padding: 18px !important;
		margin-bottom: 18px !important;
	}

	.process-step {
		padding: 16px 12px !important;
	}
}

@media (max-height: 720px) {
	.splash-card .mr-logo {
		max-height: 190px !important;
	}

	.splash-subtitle,
	.splash-subtitle-clean {
		font-size: 24px !important;
		margin-bottom: 14px !important;
	}

	.process-text {
		display: none !important;
	}

	.splash-start-btn {
		padding-top: 14px !important;
		padding-bottom: 14px !important;
	}
}

@media (max-width: 760px) {
	.process-flow {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	.process-line {
		display: none !important;
	}

	.splash-card .mr-logo {
		max-width: 82vw !important;
	}
}

/* ===== V19.15 Kiosk Alert Modal Restore ===== */
.kiosk-alert-modal-content {
	overflow: hidden;
}

.kiosk-alert-message {
	background: #f8fafc;
	border: 1px solid #dbe4ef;
	border-radius: 22px;
	padding: 22px;
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.35;
}

#kioskAlertActions {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
}

#kioskAlertActions .btn {
	min-width: 140px;
}

/* ===== V19.15 Review Order Modal CSS Restore ===== */
/* Scoped only to #checkoutModal so alert modal and other pages are not affected. */
#checkoutModal .modal-dialog {
	max-width: min(1180px, 94vw) !important;
}

#checkoutModal .checkout-modal-content {
	border-radius: 32px !important;
	background: #ffffff !important;
	overflow: hidden !important;
}

#checkoutModal .modal-header {
	align-items: flex-start !important;
}

#checkoutModal .modal-body {
	max-height: min(58vh, 620px) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

#checkoutModal .modal-footer {
	background: #ffffff !important;
	gap: 18px !important;
	flex-wrap: nowrap !important;
}

#checkoutModalItems {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

#checkoutModal .checkout-modal-item {
	background: #f8fafc !important;
	border: 1px solid #dbe4ef !important;
	border-radius: 24px !important;
	padding: 18px !important;
	margin-bottom: 0 !important;
}

#checkoutModal .checkout-modal-row {
	display: grid !important;
	grid-template-columns: minmax(420px, 1fr) 250px 180px !important;
	align-items: center !important;
	column-gap: 24px !important;
	width: 100% !important;
}

#checkoutModal .checkout-modal-product {
	display: flex !important;
	align-items: center !important;
	gap: 18px !important;
	min-width: 0 !important;
}

#checkoutModal .checkout-image {
	width: 92px !important;
	height: 92px !important;
	min-width: 92px !important;
	object-fit: contain !important;
	background: #ffffff !important;
	border-radius: 18px !important;
	padding: 8px !important;
	border: 1px solid #e2e8f0 !important;
}

#checkoutModal .checkout-modal-product-info {
	min-width: 0 !important;
}

#checkoutModal .checkout-modal-product-name {
	line-height: 1.2 !important;
	word-break: break-word !important;
	color: #212529 !important;
}

#checkoutModal .checkout-modal-qty-column {
	display: grid !important;
	grid-template-columns: 72px 56px 72px !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 14px !important;
}

#checkoutModal .checkout-qty-btn {
	width: 72px !important;
	height: 60px !important;
	min-width: 72px !important;
	min-height: 60px !important;
	border-radius: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 26px !important;
	font-weight: 900 !important;
}

#checkoutModal .checkout-qty-value {
	width: 56px !important;
	min-width: 56px !important;
	height: 60px !important;
	text-align: center !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#checkoutModal .checkout-modal-price-column {
	text-align: right !important;
	justify-self: end !important;
	min-width: 160px !important;
}

#checkoutProceedPaymentBtn.empty-cart-proceed-warning {
	opacity: 1 !important;
	cursor: pointer !important;
	pointer-events: auto !important;
}

#checkoutProceedPaymentBtn:disabled:not(.empty-cart-proceed-warning),
#checkoutProceedPaymentBtn.disabled:not(.empty-cart-proceed-warning) {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

@media (max-width: 992px) {
	#checkoutModal .checkout-modal-row {
		grid-template-columns: 1fr !important;
		row-gap: 18px !important;
	}

	#checkoutModal .checkout-modal-qty-column {
		justify-content: start !important;
	}

	#checkoutModal .checkout-modal-price-column {
		justify-self: start !important;
		text-align: left !important;
	}

	#checkoutModal .modal-footer {
		flex-wrap: wrap !important;
	}
}


/* ===== V19.16 YouTube Live Stream on Splash Page ===== */
/* This panel appears only when kiosk.youtube.enabled=true and a valid channel ID is configured. */
.splash-live-panel {
	flex: 0 1 auto !important;
	width: min(100%, 820px) !important;
	margin: 0 auto clamp(14px, 2vh, 24px) !important;
	padding: clamp(12px, 1.8vh, 18px) !important;
	border-radius: clamp(20px, 2.8vh, 28px) !important;
	background: #ffffff !important;
	border: 1px solid #dbe4ef !important;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
	display: grid !important;
	grid-template-columns: minmax(150px, 220px) 1fr !important;
	gap: clamp(12px, 1.8vw, 20px) !important;
	align-items: center !important;
	overflow: hidden !important;
}

.splash-live-copy {
	min-width: 0 !important;
}

.splash-live-eyebrow {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	color: #dc3545 !important;
	font-size: clamp(11px, 1.5vh, 13px) !important;
	font-weight: 900 !important;
	letter-spacing: 2px !important;
	margin-bottom: 6px !important;
}

.splash-live-dot {
	width: 10px !important;
	height: 10px !important;
	border-radius: 50% !important;
	background: #dc3545 !important;
	box-shadow: 0 0 0 5px rgba(220, 53, 69, 0.12) !important;
}

.splash-live-title {
	color: #0f172a !important;
	font-size: clamp(20px, 2.8vh, 30px) !important;
	font-weight: 900 !important;
	line-height: 1.05 !important;
}

.splash-live-frame-wrap {
	position: relative !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	max-height: clamp(130px, 21vh, 230px) !important;
	border-radius: clamp(16px, 2.2vh, 22px) !important;
	overflow: hidden !important;
	background: #0f172a !important;
}

.splash-live-frame {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
}

/* Fit splash page when the YouTube panel is enabled. */
.splash-live-panel+.splash-hero,
.splash-live-panel+.professional-hero {
	padding: clamp(14px, 2vh, 24px) !important;
	margin-bottom: clamp(14px, 2vh, 24px) !important;
}

.splash-live-panel~.splash-start-btn {
	padding-top: clamp(14px, 2vh, 22px) !important;
	padding-bottom: clamp(14px, 2vh, 22px) !important;
}

@media (max-height: 860px) {
	.splash-live-panel {
		grid-template-columns: 1fr 1.6fr !important;
		padding: 12px !important;
		margin-bottom: 12px !important;
	}

	.splash-live-frame-wrap {
		max-height: 150px !important;
	}

	.splash-live-title {
		font-size: 22px !important;
	}
}

@media (max-height: 760px) {
	.splash-live-copy {
		display: none !important;
	}

	.splash-live-panel {
		grid-template-columns: 1fr !important;
		width: min(100%, 560px) !important;
	}

	.splash-live-frame-wrap {
		max-height: 120px !important;
	}
}

@media (max-width: 760px) {
	.splash-live-panel {
		grid-template-columns: 1fr !important;
	}
}


/* ===== V19.17 Splash + YouTube Live Fit Adjustment ===== */
/* Keeps the splash page non-scrollable while preventing live panel, steps, and start button from overlapping/cutting. */
body:has(.splash-live-panel) .splash-page {
	padding: clamp(8px, 1.2vh, 14px) !important;
}

body:has(.splash-live-panel) .splash-card {
	width: min(100%, 980px) !important;
	height: calc(100vh - clamp(16px, 2.4vh, 28px)) !important;
	max-height: calc(100vh - clamp(16px, 2.4vh, 28px)) !important;
	padding: clamp(14px, 2vh, 24px) clamp(28px, 4vw, 54px) !important;
	justify-content: flex-start !important;
	gap: clamp(8px, 1.1vh, 14px) !important;
}

body:has(.splash-live-panel) .system-pill {
	margin-bottom: clamp(4px, 0.7vh, 8px) !important;
	padding: 8px 20px !important;
	font-size: clamp(15px, 1.9vh, 18px) !important;
}

body:has(.splash-live-panel) .mr-logo-wrap {
	margin-bottom: clamp(4px, 0.8vh, 10px) !important;
}

body:has(.splash-live-panel) .mr-logo {
	max-height: clamp(150px, 24vh, 250px) !important;
	max-width: min(72vw, 560px) !important;
}

body:has(.splash-live-panel) .splash-subtitle,
body:has(.splash-live-panel) .splash-subtitle-clean {
	font-size: clamp(22px, 3vh, 34px) !important;
	margin-bottom: clamp(6px, 1vh, 12px) !important;
}

body:has(.splash-live-panel) .splash-live-panel {
	width: min(100%, 820px) !important;
	min-height: 0 !important;
	padding: clamp(8px, 1.3vh, 12px) !important;
	margin-bottom: clamp(8px, 1.2vh, 12px) !important;
	grid-template-columns: minmax(120px, 190px) 1fr !important;
	gap: clamp(8px, 1.2vw, 14px) !important;
}

body:has(.splash-live-panel) .splash-live-title {
	font-size: clamp(18px, 2.5vh, 26px) !important;
}

body:has(.splash-live-panel) .splash-live-eyebrow {
	font-size: clamp(10px, 1.3vh, 12px) !important;
	margin-bottom: 4px !important;
}

body:has(.splash-live-panel) .splash-live-frame-wrap {
	max-height: clamp(95px, 15vh, 150px) !important;
	aspect-ratio: 16 / 7.5 !important;
}

body:has(.splash-live-panel) .splash-hero,
body:has(.splash-live-panel) .professional-hero {
	width: min(100%, 820px) !important;
	padding: clamp(10px, 1.5vh, 16px) !important;
	margin-bottom: clamp(8px, 1.2vh, 12px) !important;
}

body:has(.splash-live-panel) .process-flow {
	grid-template-columns: 1fr 24px 1fr 24px 1fr !important;
	gap: clamp(6px, 1vw, 10px) !important;
}

body:has(.splash-live-panel) .process-step {
	padding: clamp(10px, 1.6vh, 16px) clamp(8px, 1.2vw, 12px) !important;
	border-radius: clamp(16px, 2vh, 22px) !important;
}

body:has(.splash-live-panel) .process-number {
	width: clamp(38px, 5vh, 48px) !important;
	height: clamp(38px, 5vh, 48px) !important;
	font-size: clamp(19px, 2.5vh, 25px) !important;
	margin-bottom: clamp(6px, 0.9vh, 10px) !important;
}

body:has(.splash-live-panel) .process-title {
	font-size: clamp(15px, 2vh, 21px) !important;
	margin-bottom: clamp(4px, 0.7vh, 8px) !important;
}

body:has(.splash-live-panel) .process-text {
	font-size: clamp(10px, 1.35vh, 13px) !important;
	line-height: 1.25 !important;
}

body:has(.splash-live-panel) .splash-start-btn {
	width: min(100%, 520px) !important;
	align-self: center !important;
	padding: clamp(13px, 1.8vh, 18px) clamp(22px, 3vw, 32px) !important;
	font-size: clamp(23px, 3.1vh, 34px) !important;
	margin-top: 0 !important;
	border-radius: clamp(18px, 2.4vh, 24px) !important;
	flex: 0 0 auto !important;
}

body:has(.splash-live-panel) .splash-footer {
	margin-top: clamp(6px, 0.8vh, 10px) !important;
	font-size: clamp(10px, 1.25vh, 13px) !important;
}

/* Short-height kiosk fallback: prioritize live stream + start button visibility. */
@media (max-height: 860px) {
	body:has(.splash-live-panel) .splash-card {
		padding: 12px 34px !important;
		gap: 6px !important;
	}

	body:has(.splash-live-panel) .mr-logo {
		max-height: 185px !important;
	}

	body:has(.splash-live-panel) .splash-live-frame-wrap {
		max-height: 110px !important;
	}

	body:has(.splash-live-panel) .process-text {
		display: none !important;
	}

	body:has(.splash-live-panel) .process-step {
		padding: 10px 8px !important;
	}

	body:has(.splash-live-panel) .splash-start-btn {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
}

/* Very short screens: make the live stream a compact full-width strip. */
@media (max-height: 740px) {
	body:has(.splash-live-panel) .system-pill {
		display: none !important;
	}

	body:has(.splash-live-panel) .mr-logo {
		max-height: 135px !important;
	}

	body:has(.splash-live-panel) .splash-subtitle,
	body:has(.splash-live-panel) .splash-subtitle-clean {
		font-size: 22px !important;
	}

	body:has(.splash-live-panel) .splash-live-copy {
		display: none !important;
	}

	body:has(.splash-live-panel) .splash-live-panel {
		grid-template-columns: 1fr !important;
		width: min(100%, 560px) !important;
	}

	body:has(.splash-live-panel) .splash-live-frame-wrap {
		max-height: 90px !important;
	}

	body:has(.splash-live-panel) .process-number {
		width: 34px !important;
		height: 34px !important;
		font-size: 18px !important;
	}

	body:has(.splash-live-panel) .process-title {
		font-size: 14px !important;
	}
}


/* ===== V19.18 YouTube Live Iframe 500x500 Adjustment ===== */
/* Requested fixed live stream display size. */
body:has(.splash-live-panel) .splash-live-panel {
	width: min(100%, 760px) !important;
	grid-template-columns: 180px 500px !important;
	justify-content: center !important;
	align-items: center !important;
}

body:has(.splash-live-panel) .splash-live-frame-wrap {
	width: 500px !important;
	height: 500px !important;
	max-width: 500px !important;
	max-height: 500px !important;
	aspect-ratio: 1 / 1 !important;
}

body:has(.splash-live-panel) .splash-live-frame {
	width: 500px !important;
	height: 500px !important;
}

/* Fit fallback for screens narrower than the 500px iframe plus label column. */
@media (max-width: 820px) {
	body:has(.splash-live-panel) .splash-live-panel {
		grid-template-columns: 1fr !important;
		width: min(100%, 540px) !important;
	}

	body:has(.splash-live-panel) .splash-live-frame-wrap,
	body:has(.splash-live-panel) .splash-live-frame {
		width: min(500px, 90vw) !important;
		height: min(500px, 90vw) !important;
		max-width: min(500px, 90vw) !important;
		max-height: min(500px, 90vw) !important;
	}
}

/* If the kiosk screen height cannot fit a full 500px video plus all splash details,
   compact the other splash sections but keep the iframe square. */
@media (max-height: 920px) {
	body:has(.splash-live-panel) .mr-logo {
		max-height: 120px !important;
	}

	body:has(.splash-live-panel) .splash-subtitle,
	body:has(.splash-live-panel) .splash-subtitle-clean {
		font-size: 20px !important;
		margin-bottom: 4px !important;
	}

	body:has(.splash-live-panel) .splash-hero,
	body:has(.splash-live-panel) .professional-hero {
		display: none !important;
	}

	body:has(.splash-live-panel) .splash-start-btn {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		font-size: 26px !important;
	}
}


/* ===== V19.19 YouTube Live Iframe 800x800 Adjustment ===== */
/* Requested larger splash-page live stream display size. */
body:has(.splash-live-panel) .splash-live-panel {
	width: min(100%, 1040px) !important;
	grid-template-columns: 200px 800px !important;
	justify-content: center !important;
	align-items: center !important;
}

body:has(.splash-live-panel) .splash-live-frame-wrap {
	width: 800px !important;
	height: 800px !important;
	max-width: 800px !important;
	max-height: 800px !important;
	aspect-ratio: 1 / 1 !important;
}

body:has(.splash-live-panel) .splash-live-frame {
	width: 800px !important;
	height: 800px !important;
}

/* Fit fallback for screens narrower than the 800px iframe plus label column. */
@media (max-width: 1100px) {
	body:has(.splash-live-panel) .splash-live-panel {
		grid-template-columns: 1fr !important;
		width: min(100%, 860px) !important;
	}

	body:has(.splash-live-panel) .splash-live-frame-wrap,
	body:has(.splash-live-panel) .splash-live-frame {
		width: min(800px, 90vw) !important;
		height: min(800px, 90vw) !important;
		max-width: min(800px, 90vw) !important;
		max-height: min(800px, 90vw) !important;
	}
}

/* On shorter screens, trim other splash content so the larger iframe remains visible. */
@media (max-height: 1200px) {
	body:has(.splash-live-panel) .mr-logo {
		max-height: 110px !important;
	}

	body:has(.splash-live-panel) .system-pill {
		padding: 6px 16px !important;
		font-size: 14px !important;
		margin-bottom: 4px !important;
	}

	body:has(.splash-live-panel) .splash-subtitle,
	body:has(.splash-live-panel) .splash-subtitle-clean {
		font-size: 18px !important;
		margin-bottom: 4px !important;
	}

	body:has(.splash-live-panel) .splash-hero,
	body:has(.splash-live-panel) .professional-hero {
		display: none !important;
	}

	body:has(.splash-live-panel) .splash-start-btn {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		font-size: 24px !important;
	}

	body:has(.splash-live-panel) .splash-footer {
		font-size: 11px !important;
	}
}


/* ===== V19.20 Splash Live Stream Top Label + Layout Adjustment ===== */
/* Places LIVE STREAM / Now Streaming above the iframe and prevents the label from being cut off. */
body:has(.splash-live-panel-top-label) .splash-page {
	padding: clamp(8px, 1.2vh, 14px) !important;
}

body:has(.splash-live-panel-top-label) .splash-card {
	width: min(100%, 980px) !important;
	height: calc(100vh - clamp(16px, 2.4vh, 28px)) !important;
	max-height: calc(100vh - clamp(16px, 2.4vh, 28px)) !important;
	padding: clamp(14px, 2vh, 24px) clamp(28px, 4vw, 54px) !important;
	justify-content: flex-start !important;
	gap: clamp(8px, 1vh, 12px) !important;
	overflow: hidden !important;
}

body:has(.splash-live-panel-top-label) .system-pill {
	margin-bottom: 2px !important;
	padding: 6px 18px !important;
	font-size: clamp(13px, 1.7vh, 16px) !important;
}

body:has(.splash-live-panel-top-label) .mr-logo-wrap {
	margin-bottom: 2px !important;
}

body:has(.splash-live-panel-top-label) .mr-logo {
	max-height: clamp(95px, 15vh, 155px) !important;
	max-width: min(56vw, 430px) !important;
}

body:has(.splash-live-panel-top-label) .splash-subtitle,
body:has(.splash-live-panel-top-label) .splash-subtitle-clean {
	font-size: clamp(18px, 2.4vh, 26px) !important;
	margin-bottom: 4px !important;
	line-height: 1.1 !important;
}

body:has(.splash-live-panel-top-label) .splash-live-panel {
	width: min(100%, 860px) !important;
	margin: 0 auto clamp(8px, 1.2vh, 12px) !important;
	padding: clamp(10px, 1.5vh, 14px) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: clamp(8px, 1.2vh, 12px) !important;
	border-radius: clamp(20px, 2.8vh, 28px) !important;
	overflow: hidden !important;
}

body:has(.splash-live-panel-top-label) .splash-live-topbar {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: clamp(12px, 2vw, 22px) !important;
	text-align: center !important;
	flex-wrap: wrap !important;
}

body:has(.splash-live-panel-top-label) .splash-live-eyebrow {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	color: #dc3545 !important;
	font-size: clamp(11px, 1.5vh, 13px) !important;
	font-weight: 900 !important;
	letter-spacing: 2.4px !important;
	white-space: nowrap !important;
}

body:has(.splash-live-panel-top-label) .splash-live-title {
	color: #0f172a !important;
	font-size: clamp(22px, 3vh, 32px) !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	margin: 0 !important;
	white-space: nowrap !important;
}

/* Requested large stream target.
   On tall/wide displays this reaches 800x800.
   On kiosk screens it scales down so the splash page still fits without scrolling. */
body:has(.splash-live-panel-top-label) .splash-live-frame-wrap {
	width: min(800px, 80vw, 66vh) !important;
	height: min(800px, 80vw, 66vh) !important;
	max-width: min(800px, 80vw, 66vh) !important;
	max-height: min(800px, 80vw, 66vh) !important;
	aspect-ratio: 1 / 1 !important;
	border-radius: clamp(18px, 2.6vh, 28px) !important;
}

body:has(.splash-live-panel-top-label) .splash-live-frame {
	width: 100% !important;
	height: 100% !important;
}

/* Keep the process cards hidden while the large live panel is active.
   This prevents crowding and keeps TAP TO START visible. */
body:has(.splash-live-panel-top-label) .splash-hero,
body:has(.splash-live-panel-top-label) .professional-hero {
	display: none !important;
}

body:has(.splash-live-panel-top-label) .splash-start-btn {
	width: min(100%, 520px) !important;
	align-self: center !important;
	padding: clamp(12px, 1.8vh, 18px) clamp(22px, 3vw, 32px) !important;
	font-size: clamp(22px, 3vh, 32px) !important;
	margin-top: 0 !important;
	border-radius: clamp(18px, 2.4vh, 24px) !important;
	flex: 0 0 auto !important;
}

body:has(.splash-live-panel-top-label) .splash-footer {
	margin-top: clamp(4px, 0.8vh, 8px) !important;
	font-size: clamp(10px, 1.25vh, 12px) !important;
}

/* Short kiosk display adjustment. */
@media (max-height: 840px) {
	body:has(.splash-live-panel-top-label) .splash-card {
		padding: 10px 34px !important;
		gap: 5px !important;
	}

	body:has(.splash-live-panel-top-label) .mr-logo {
		max-height: 105px !important;
	}

	body:has(.splash-live-panel-top-label) .splash-subtitle,
	body:has(.splash-live-panel-top-label) .splash-subtitle-clean {
		font-size: 18px !important;
	}

	body:has(.splash-live-panel-top-label) .splash-live-frame-wrap {
		width: min(800px, 78vw, 60vh) !important;
		height: min(800px, 78vw, 60vh) !important;
		max-width: min(800px, 78vw, 60vh) !important;
		max-height: min(800px, 78vw, 60vh) !important;
	}

	body:has(.splash-live-panel-top-label) .splash-start-btn {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		font-size: 24px !important;
	}
}

/* Very short screen fallback. */
@media (max-height: 700px) {
	body:has(.splash-live-panel-top-label) .system-pill {
		display: none !important;
	}

	body:has(.splash-live-panel-top-label) .mr-logo {
		max-height: 80px !important;
	}

	body:has(.splash-live-panel-top-label) .splash-live-frame-wrap {
		width: min(800px, 76vw, 56vh) !important;
		height: min(800px, 76vw, 56vh) !important;
		max-width: min(800px, 76vw, 56vh) !important;
		max-height: min(800px, 76vw, 56vh) !important;
	}

	body:has(.splash-live-panel-top-label) .splash-live-title {
		font-size: 20px !important;
	}

	body:has(.splash-live-panel-top-label) .splash-live-eyebrow {
		font-size: 10px !important;
	}
}


/* ===== V19.21 Product Name Font Size Adjustment ===== */
/* Makes product names on the product page more readable while keeping card height controlled. */
.product-card .product-title,
.product-card h3.product-title,
.product-title {
	font-size: clamp(15px, 1.15vw, 20px) !important;
	line-height: 1.18 !important;
	font-weight: 900 !important;
	min-height: 46px !important;
	max-height: 72px !important;
	margin-bottom: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	overflow: hidden !important;
}

/* Product card layout usually uses strong/fw-bold text directly for names in some revisions. */
.product-card .fw-bold.product-title,
.product-card .fw-bold.fs-5,
.product-card .fw-bold.fs-4 {
	font-size: clamp(15px, 1.15vw, 20px) !important;
	line-height: 1.18 !important;
}

/* Vertical kiosk UI needs slightly smaller text so 3 products per row remains aligned. */
body.force-vertical-ui .product-card .product-title,
body.force-vertical-ui .product-title,
body.force-vertical-ui .product-card .fw-bold.fs-5,
body.force-vertical-ui .product-card .fw-bold.fs-4 {
	font-size: clamp(12px, 1.55vh, 16px) !important;
	line-height: 1.15 !important;
	min-height: 38px !important;
	max-height: 56px !important;
}

/* Normal desktop / landscape screen: stronger readable product name size. */
@media (min-width: 1200px) {

	.product-card .product-title,
	.product-title {
		font-size: 18px !important;
	}
}

/* Smaller screens: avoid card overflow. */
@media (max-width: 900px) {

	.product-card .product-title,
	.product-title {
		font-size: 14px !important;
		min-height: 40px !important;
	}
}


/* ===== V19.23 Disable Virtual Keyboard ===== */
/* Hide virtual keyboard elements if older markup still exists in browser/cache. */
.virtual-keyboard-backdrop,
.virtual-keyboard-panel,
.virtual-keyboard-hint {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}


/* ===== V19.24 Splash IWAR Logo ===== */
/* Replaces the large splash logo with the IWAR logo while keeping the existing splash layout intact. */
.splash-iwar-logo-wrap {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
}

.splash-iwar-logo {
	width: min(560px, 74vw) !important;
	height: auto !important;
	max-height: clamp(120px, 22vh, 220px) !important;
	object-fit: contain !important;
	display: block !important;
}

/* When the large live stream panel is active, keep the IWAR logo compact. */
body:has(.splash-live-panel) .splash-iwar-logo,
body:has(.splash-live-panel-top-label) .splash-iwar-logo {
	width: min(420px, 56vw) !important;
	max-height: clamp(80px, 14vh, 140px) !important;
}

@media (max-width: 768px) {
	.splash-iwar-logo {
		width: min(420px, 82vw) !important;
	}
}

/* ============================================================
   Phone / tablet responsive layout for the /products kiosk page.
   Added as one block at the end of the file on purpose: this
   stylesheet's effective rule (given how many earlier declarations
   repeat the same selectors with !important) is "later + !important
   wins", so a new layout is only reliable if it comes after
   everything it needs to override. Applies to both Desktop UI and
   Vertical UI toggle states — phones/tablets get this layout either
   way, since neither existing mode was designed for a narrow screen.
   ============================================================ */
 
/* ----- Tablet: ≤1024px ----- */
@media (max-width: 1024px) {
    .kiosk-bg,
    body.force-vertical-ui .kiosk-bg {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        padding: 8px 10px 10px !important;
    }
 
    .premium-header-card,
    body.force-vertical-ui .premium-header-card {
        padding: 16px !important;
        border-radius: 24px !important;
    }
 
    .header-logo-strip {
        gap: 10px !important;
    }
 
    .header-logo-cell {
        min-height: 64px !important;
        padding: 8px !important;
        border-radius: 14px !important;
    }
 
    .separate-nav-toolbar .btn,
    body.force-vertical-ui .separate-nav-toolbar .btn {
        padding: 10px 16px !important;
        font-size: 15px !important;
    }
 
    /* Sidebar becomes a horizontal, scrollable row of category chips
       above the product grid instead of a left column. */
    .product-browser-layout,
    body.force-vertical-ui .product-browser-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
 
    .plain-category-sidebar,
    body.force-vertical-ui .plain-category-sidebar {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;
        padding: 16px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
 
    .plain-category-sidebar::-webkit-scrollbar,
    body.force-vertical-ui .plain-category-sidebar::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }
 
    .plain-category-header,
    .plain-help-card {
        display: none !important;
    }
 
    .plain-category-btn,
    body.force-vertical-ui .plain-category-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        height: 60px !important;
        padding: 0 20px !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
        border-radius: 999px !important;
    }
 
    .plain-category-title,
    body.force-vertical-ui .plain-category-title {
        font-size: 18px !important;
    }
 
    /* Hover/focus/active rings and shadows get hard-clipped by the
       horizontal scroll container's edge — most visible on "All
       Products" since it's the first chip, flush against that edge,
       and the one most likely to still be focused right after a tap.
       Not meaningful on a touch chip row anyway, so drop these here. */
    .plain-category-btn:hover,
    .plain-category-btn:focus,
    .plain-category-btn:active {
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;
    }
 
    .product-browser-main,
    body.force-vertical-ui .product-browser-main {
        width: 100% !important;
        height: auto !important;
        padding: 14px !important;
    }
 
    .browser-title {
        font-size: 26px !important;
    }
 
    #productGrid {
        row-gap: 14px !important;
    }
 
    #productGrid > .product-col {
        width: 50% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
 
    .browser-product-card,
    body.force-vertical-ui .browser-product-card {
        min-height: auto !important;
    }
 
    .vertical-order-dock,
    body.force-vertical-ui .vertical-order-dock {
        padding: 14px 18px !important;
        position: static !important;
    }
 
    .vertical-action-row,
    body.force-vertical-ui .vertical-action-row {
        padding: 8px 18px 12px !important;
        gap: 12px !important;
        position: static !important;
    }
 
    .start-over-btn,
    .review-orders-btn,
    body.force-vertical-ui .start-over-btn,
    body.force-vertical-ui .review-orders-btn {
        letter-spacing: 2px !important;
        font-size: 15px !important;
    }
}
 
/* ----- Phone: ≤600px ----- */
@media (max-width: 600px) {
    .header-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
 
    .header-logo-cell {
        min-height: 46px !important;
        padding: 4px !important;
        border-radius: 10px !important;
    }
 
    .separate-nav-toolbar .btn,
    body.force-vertical-ui .separate-nav-toolbar .btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
 
    .browser-toolbar,
    body.force-vertical-ui .browser-toolbar {
        margin-bottom: 10px !important;
    }
 
    .browser-title,
    body.force-vertical-ui .browser-title {
        font-size: 21px !important;
    }
 
    .browser-subtitle,
    body.force-vertical-ui .browser-subtitle {
        font-size: 12px !important;
    }
 
    .plain-category-btn,
    body.force-vertical-ui .plain-category-btn {
        height: 52px !important;
        padding: 0 20px !important;
    }
 
    .plain-category-title,
    body.force-vertical-ui .plain-category-title {
        font-size: 16px !important;
    }
 
    .plain-category-sidebar,
    body.force-vertical-ui .plain-category-sidebar {
        padding: 14px !important;
        gap: 10px !important;
    }
 
    /* One product per row on a phone-width screen. */
    #productGrid > .product-col {
        width: 100% !important;
    }
 
    .browser-product-image-wrap,
    body.force-vertical-ui .browser-product-image-wrap {
        height: 110px !important;
        min-height: 110px !important;
    }
 
    .touch-qty-btn,
    body.force-vertical-ui .touch-qty-btn {
        min-width: 52px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 20px !important;
    }
 
    .vertical-order-dock,
    body.force-vertical-ui .vertical-order-dock {
        padding: 12px 14px !important;
    }
 
    .order-preview-strip .fw-bold.fs-4 {
        font-size: 18px !important;
    }
 
    .vertical-action-row,
    body.force-vertical-ui .vertical-action-row {
        grid-template-columns: 1fr 1fr !important;
        padding: 8px 12px 12px !important;
        gap: 8px !important;
    }
 
    .start-over-btn,
    .review-orders-btn,
    body.force-vertical-ui .start-over-btn,
    body.force-vertical-ui .review-orders-btn {
        min-height: 48px !important;
        font-size: 13px !important;
        letter-spacing: 1px !important;
    }
}