/**
 * Mobile layout fixes for Android Chrome.
 */

/* Fit the current product and four related products in the quick comparison table. */

@media (min-width: 1200px) {
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table.has-5 {
		width: 100% !important;
		min-width: 0 !important;
		table-layout: fixed;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table.has-5 th,
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table.has-5 td {
		box-sizing: border-box;
		min-width: 0 !important;
		max-width: none;
		overflow-wrap: anywhere;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table.has-5 img {
		max-inline-size: min(100%, 12rem);
		height: auto;
	}
}

@media (max-width: 1199px) {
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table th.col,
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table td.col {
		min-width: 220px !important;
		overflow-wrap: anywhere;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table th.th-label,
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table td.td-label {
		min-width: 140px !important;
		overflow-wrap: anywhere;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table img {
		max-inline-size: 10rem;
		height: auto;
	}
}

@media (max-width: 767px) {
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table th.col,
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table td.col {
		min-width: 160px !important;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table th.th-label,
	.woosc-quick-table .woosc-quick-table-products > table.woosc_table td.td-label {
		min-width: 112px !important;
	}

	.woosc-quick-table .woosc-quick-table-products > table.woosc_table img {
		max-inline-size: 7rem;
	}
}

@media (max-width: 1023px) {
	body #mobile_menu.canvas-menu {
		left: 0;
		width: min(86vw, 380px);
		max-width: calc(100vw - 24px);
		height: 100vh;
		height: 100dvh;
		max-height: 100dvh;
		padding: calc(20px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
		transform: translate3d(-100%, 0, 0);
		visibility: hidden;
		opacity: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		-webkit-overflow-scrolling: touch;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
	}

	body #mobile_menu.canvas-menu.active {
		left: 0;
		transform: translate3d(0, 0, 0);
		visibility: visible;
		opacity: 1;
	}

	body #mobile_menu.canvas-menu .rbb-main-navigation,
	body #mobile_menu.canvas-menu #menu-main {
		min-width: 0;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	#rbb-default-header.header-2 .header-mobile > .flex {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
	}

	#rbb-default-header.header-2 .header-mobile .menu-mobile,
	#rbb-default-header.header-2 .header-mobile .header-mobile-right {
		min-width: 0;
	}

	#rbb-default-header.header-2 .header-mobile .menu-mobile:has(> .adesso-header-mobile-search) > .toggle-megamenu {
		flex-shrink: 0;
		margin-inline-end: 4px;
	}

	#rbb-default-header.header-2 .header-mobile #_mobile_logo {
		min-width: 0;
		padding-right: 8px !important;
		padding-left: 8px !important;
	}

	#rbb-default-header.header-2 .header-mobile #_mobile_logo img {
		width: auto;
		max-width: clamp(84px, 38vw, 150px);
		height: auto;
	}
}

.adesso-support-center {
	background: #fff;
}

.adesso-support-center .support-hero {
	padding-block: clamp(24px, 3vw, 40px);
	text-align: center;
}

.adesso-support-center .support-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4vw, 50px);
	font-weight: 700;
	line-height: 1.12;
}

.adesso-support-center .support-hero-intro {
	margin: 0;
	color: #d3dbe4;
}

.adesso-support-center #product-panel {
	scroll-margin-block-start: 110px;
}

.adesso-support-center .support-wide {
	max-width: 1440px;
	margin-inline: auto;
}

.adesso-support-center .support-browse,
.adesso-support-center .support-resources {
	padding-inline: clamp(16px, 2.5vw, 36px);
}

.adesso-support-center .support-browse {
	padding-block: clamp(16px, 2vw, 28px) 0;
}

.adesso-support-center .support-resources {
	margin-block-start: clamp(16px, 2vw, 24px);
	padding-block: clamp(16px, 2vw, 28px) 16px;
	background: #f3f4f6;
}

.adesso-support-center .support-section-label {
	margin: 0 0 6px;
	color: #006b98;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

.adesso-support-center .support-section-title {
	margin: 0 0 16px;
	color: #111827;
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.adesso-support-center .support-ai-trigger {
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 7px;
	padding: 6px 0;
	color: #8bdaf4;
	font-size: 14px;
	text-decoration: none;
}

.adesso-support-center .support-ai-trigger:hover {
	color: #fff;
	text-decoration: underline;
}

.adesso-support-ai-open {
	overflow: hidden;
}

/* 仅覆盖本站支持入口打开的 Jotform 外框，不修改 iframe 内的聊天样式。 */
/* Style only the Jotform shell opened by Support, leaving the embedded chat unchanged. */
.adesso-support-lightbox[hidden],
.adesso-support-ai-backdrop[hidden] {
	display: none !important;
}

.adesso-support-ai-backdrop.jt-dimmer {
	background: #0c182b !important;
	opacity: 0.28 !important;
}

.adesso-support-lightbox.jt-feedback {
	width: min(660px, calc(100vw - 32px)) !important;
	margin: 0 !important;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	box-shadow: 0 10px 50px #0003;
}

.adesso-support-lightbox > div:first-child {
	display: none;
}

.adesso-support-lightbox .jt-title {
	box-sizing: border-box;
	width: 100% !important;
	height: 56px !important;
	padding: 16px 52px 16px 20px;
	border-bottom: 1px solid #e5eaf0 !important;
	border-radius: 12px 12px 0 0 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	line-height: 24px !important;
	text-indent: 0 !important;
	cursor: default !important;
}

.adesso-support-lightbox .jt-title > div {
	display: flex;
	align-items: center;
	justify-content: center;
	top: 12px !important;
	right: 12px !important;
	width: 32px;
	height: 32px !important;
	line-height: 32px !important;
	text-align: center;
}

.adesso-support-lightbox .jt-title > div > div {
	margin: 0 !important;
}

.adesso-support-lightbox .jt-content {
	width: 100% !important;
	height: min(500px, calc(100vh - 88px)) !important;
	height: min(500px, calc(100dvh - 88px)) !important;
	max-height: none !important;
	overflow: hidden !important;
	border-radius: 0 0 12px 12px !important;
}

.adesso-support-lightbox #js-form-content,
.adesso-support-lightbox iframe {
	display: block;
	width: 100%;
	height: 100% !important;
	min-height: 0 !important;
	border: 0;
}

.adesso-support-lightbox #js-form-content {
	position: relative;
	z-index: 1;
}

.adesso-support-lightbox iframe.adesso-support-ai-pending {
	visibility: hidden;
}

.adesso-support-lightbox .adesso-support-ai-loading {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	color: #526174;
	font-size: 14px;
	text-align: center;
	pointer-events: none;
}

.adesso-support-lightbox .adesso-support-ai-loading::before {
	content: "";
	width: 32px;
	height: 32px;
	border: 3px solid #dce5ed;
	border-top-color: #008bb5;
	border-radius: 50%;
	animation: adesso-support-ai-spin 0.8s linear infinite;
}

@keyframes adesso-support-ai-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.adesso-support-lightbox .adesso-support-ai-loading::before {
		animation: none;
	}
}

.adesso-support-center .support-ai-trigger:focus-visible,
.adesso-support-lightbox [role="button"]:focus-visible {
	outline: 2px solid #00a6d4;
	outline-offset: 3px;
}

.adesso-support-center #category-view {
	padding-inline: clamp(16px, 1.75vw, 36px);
}

.adesso-support-center .support-category-content {
	max-width: 1800px;
}

.adesso-support-center #category-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 24px;
}

.adesso-support-center #category-products:empty {
	display: none;
}

.adesso-support-center #category-status:empty {
	position: absolute;
	padding: 0;
}

.adesso-support-center .support-category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.adesso-support-center .support-category-filters button {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #fff;
	color: #222;
	cursor: pointer;
	white-space: nowrap;
}

.adesso-support-center .support-category-filters button:hover {
	border-color: #222;
}

.adesso-support-center .support-category-filters button[aria-pressed="true"] {
	border-color: #222;
	background: #222;
	color: #fff;
}

.adesso-support-center .support-category-filters button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.adesso-support-center #category-products .support-card-resource {
	border-color: #d1d5db;
	background: #fff;
	color: #222;
}

.adesso-support-center #category-products .support-card-resource:hover {
	border-color: #222;
	background: #222;
	color: #fff;
}

.adesso-support-center #category-products .support-card-resource:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.adesso-support-center .support-driver-toggle {
	cursor: pointer;
	font-weight: inherit;
}

.adesso-support-center .support-driver-toggle::after {
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 1px 1px 0;
	content: "";
	transform: translateY(-2px) rotate(45deg);
}

.adesso-support-center .support-driver-toggle[aria-expanded="true"]::after {
	transform: translateY(2px) rotate(225deg);
}

.adesso-support-center .support-driver-links {
	flex-basis: 100%;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-wrap: anywhere;
}

.adesso-support-center .support-driver-links:not([hidden]) {
	display: grid;
}

.adesso-support-center #category-products .support-driver-links a {
	color: #155778;
}

.adesso-support-center .support-resource-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.adesso-support-center .support-resource-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	gap: 8px;
	padding: 22px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 0;
	background: #fff;
	color: #111827;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.adesso-support-center .support-resource-link:hover {
	border-color: #006b98;
	box-shadow: 0 4px 14px rgb(17 24 39 / 0.08);
}

.adesso-support-center .support-resource-link strong,
.adesso-support-center .support-contact h3 {
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.adesso-support-center .support-resource-link > :is(i, svg) {
	color: var(--color-main, #37a4d9);
	font-size: 28px;
}

.adesso-support-center .support-contact-copy > :is(i, svg) {
	color: #006b98;
	font-size: 18px;
}

.adesso-support-center .support-resource-link span,
.adesso-support-center .support-contact p {
	color: #4b5563;
	font-size: 14px;
	line-height: 1.45;
}

.adesso-support-center .support-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 24px;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
}

.adesso-support-center .support-contact-copy {
	display: flex;
	align-items: center;
	gap: 12px;
}

.adesso-support-center .support-contact h3,
.adesso-support-center .support-contact p {
	margin: 0;
}

.adesso-support-center .support-contact-actions,
.adesso-support-center .support-secondary-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 16px;
}

.adesso-support-center .support-secondary-links {
	justify-content: flex-end;
	margin-top: 8px;
}

.adesso-support-center .support-contact-actions a,
.adesso-support-center .support-secondary-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #006b98;
	font-size: 14px;
	text-decoration: underline;
}

.adesso-support-center a.support-contact-call {
	padding-inline: 12px;
	border: 1px solid #006b98;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
}

.adesso-support-center a.support-contact-call:hover {
	background: #edf7fc;
}

.adesso-support-center .support-resource-link:focus-visible,
.adesso-support-center .support-contact-actions a:focus-visible,
.adesso-support-center .support-secondary-links a:focus-visible {
	outline: 2px solid #006b98;
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.adesso-support-center #category-products {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
		gap: 16px;
	}

	.adesso-support-center .support-category-card {
		padding-inline: 12px;
	}

	.adesso-support-center .support-card-actions {
		column-gap: 4px;
	}

	.adesso-support-center .support-card-resource {
		column-gap: 4px;
		padding-inline: 5px;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.adesso-support-center #product-panel {
		scroll-margin-block-start: 72px;
	}

	.adesso-support-center .support-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.adesso-support-center #category-view {
		padding: 40px 16px;
	}

	.adesso-support-center .support-category-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.adesso-support-center .support-category-filters button {
		min-height: 44px;
	}

	.adesso-support-center #category-title {
		font-size: 30px;
		line-height: 1.2;
	}

	.adesso-support-center .support-secondary-links {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.adesso-product-nav.adesso-product-nav--mega > .e-con-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.adesso-product-nav.adesso-product-nav--mega > .e-con-inner > .e-con:nth-child(2) {
		--grid-columns: minmax(0, 1fr);
	}
}
