/**
 * Training Options Table for Elementor
 * Frontend styles.
 */

.tote-widget {
	--tote-row-divider-color: rgba(229, 220, 212, 0.18);
	--tote-row-divider-width: 1px;
	--tote-column-divider-color: rgba(229, 220, 212, 0.18);
	--tote-column-divider-width: 1px;
	--tote-header-divider-color: rgba(229, 220, 212, 0.32);
	--tote-header-divider-width: 1px;
	--tote-card-gap: 14px;
	--tote-card-label-width: 124px;
	--tote-card-label-gap: 14px;
	--tote-card-divider-color: rgba(229, 220, 212, 0.18);
	--tote-card-divider-width: 1px;
	--tote-scroll-min-width: 900px;
	--tote-note-accent: #b5522a;

	position: relative;
	width: 100%;
	min-width: 0;
	color: #e8e2dd;
}

.tote-widget,
.tote-widget *,
.tote-widget *::before,
.tote-widget *::after {
	box-sizing: border-box;
}

.tote-widget .tote-shell {
	width: 100%;
	min-width: 0;
	background-color: #242123;
	border: 1px solid rgba(229, 220, 212, 0.18);
	border-radius: 12px;
	overflow: hidden;
	overflow: clip;
}

.tote-widget .tote-scroll {
	width: 100%;
	max-width: 100%;
}

.tote-widget .tote-table {
	width: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: transparent;
	color: inherit;
	font-family: inherit;
}

.tote-widget .tote-table col.tote-col-option {
	width: 25%;
}

.tote-widget .tote-table col.tote-col-best-for {
	width: 25%;
}

.tote-widget .tote-table col.tote-col-group-size {
	width: 25%;
}

.tote-widget .tote-table col.tote-col-personalization {
	width: 25%;
}

.tote-widget .tote-table th,
.tote-widget .tote-table td {
	position: relative;
	margin: 0;
	text-align: start;
	background: transparent;
	border: 0;
	border-inline-end: var(--tote-column-divider-width) solid var(--tote-column-divider-color);
}

.tote-widget .tote-table tr > :last-child {
	border-inline-end: 0;
}

.tote-widget .tote-table thead th {
	padding: 14px 28px 12px;
	color: #b5522a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.15px;
	text-transform: uppercase;
	vertical-align: middle;
	border-block-end: var(--tote-header-divider-width) solid var(--tote-header-divider-color);
}

.tote-widget .tote-table tbody td,
.tote-widget .tote-table tbody th {
	padding: 14px 28px;
	color: #e8e2dd;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.38;
	vertical-align: middle;
	border-block-end: var(--tote-row-divider-width) solid var(--tote-row-divider-color);
	transition: background-color 160ms ease, color 160ms ease;
}

.tote-widget .tote-table tbody tr:last-child > td,
.tote-widget .tote-table tbody tr:last-child > th {
	border-block-end: 0;
}

.tote-widget .tote-option-wrap {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.tote-widget .tote-option-title {
	display: block;
	min-width: 0;
	color: #e8e2dd;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}

.tote-widget .tote-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	min-width: 52px;
	min-height: 1em;
	padding: 0;
	color: #c9bdb4;
	font-size: 34px;
	line-height: 1;
	background-color: transparent;
}

.tote-widget .tote-icon i,
.tote-widget .tote-icon svg {
	display: block;
	flex: 0 0 auto;
}

.tote-widget .tote-icon svg {
	width: 34px;
	height: 34px;
	fill: currentColor;
}

/* Preserve outline SVGs uploaded through Elementor's icon control. */
.tote-widget .tote-icon svg[fill="none"],
.tote-widget .tote-icon svg [fill="none"] {
	fill: none;
}

.tote-widget .tote-icon svg[stroke],
.tote-widget .tote-icon svg [stroke] {
	stroke: currentColor;
}

.tote-widget .tote-service-value,
.tote-widget .tote-group-size {
	display: block;
	min-width: 0;
	color: #e8e2dd;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.tote-widget .tote-cell-content {
	min-width: 0;
}

.tote-widget .tote-cell-content > :first-child {
	margin-block-start: 0;
}

.tote-widget .tote-cell-content > :last-child {
	margin-block-end: 0;
}

.tote-widget .tote-cell-content p {
	margin-block: 0;
}

.tote-widget .tote-cell-content p + p,
.tote-widget .tote-cell-content ul + p,
.tote-widget .tote-cell-content ol + p {
	margin-block-start: 0.65em;
}

.tote-widget .tote-cell-content ul,
.tote-widget .tote-cell-content ol {
	margin-block: 0.45em;
	padding-inline-start: 1.25em;
}

.tote-widget .tote-cell-content a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.tote-widget .tote-mobile-label {
	display: none;
}

.tote-widget.tote-sticky-header:not(.tote-hide-header) .tote-table thead th {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 5;
}

.tote-widget.tote-hide-header .tote-table thead,
.tote-widget .tote-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.tote-widget .tote-scroll:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Horizontal-scroll responsive mode. */
.tote-widget.tote-layout-scroll.tote-is-compact .tote-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.tote-widget.tote-layout-scroll.tote-is-compact .tote-table {
	min-width: var(--tote-scroll-min-width);
}

/* Card responsive mode. */
.tote-widget.tote-layout-cards.tote-is-compact .tote-shell {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-scroll {
	overflow: visible;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table,
.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody,
.tote-widget.tote-layout-cards.tote-is-compact .tote-table tr,
.tote-widget.tote-layout-cards.tote-is-compact .tote-table td,
.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody th {
	display: block;
	width: 100%;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table colgroup {
	display: none;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table thead {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody {
	display: grid;
	gap: var(--tote-card-gap);
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody tr {
	position: relative;
	background-color: #242123;
	border: 1px solid rgba(229, 220, 212, 0.18);
	border-radius: 12px;
	overflow: hidden;
	overflow: clip;
	transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody td,
.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody th {
	display: grid;
	grid-template-columns: minmax(0, var(--tote-card-label-width)) minmax(0, 1fr);
	align-items: start;
	gap: var(--tote-card-label-gap);
	padding: 13px 16px;
	border-inline-end: 0;
	border-block-end: var(--tote-card-divider-width) solid var(--tote-card-divider-color);
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody td:last-child {
	border-block-end: 0;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody .tote-cell-option {
	display: block;
	padding: 17px 16px;
	background-color: rgba(255, 255, 255, 0.02);
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-mobile-label {
	display: block;
	min-width: 0;
	color: #b5522a;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	word-break: normal;
}

.tote-widget.tote-layout-cards.tote-is-compact.tote-hide-mobile-labels .tote-table tbody td:not(.tote-cell-option) {
	grid-template-columns: minmax(0, 1fr);
}

.tote-widget.tote-layout-cards.tote-is-compact.tote-hide-mobile-labels .tote-mobile-label {
	display: none;
}

.tote-widget.tote-layout-cards.tote-is-compact .tote-cell-content,
.tote-widget.tote-layout-cards.tote-is-compact .tote-option-wrap {
	min-width: 0;
}


/* Clear assessment distinction below the practical comparison. */
.tote-widget .tote-assessment-note {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	margin-top: 16px;
	padding: 18px 20px;
	color: #e8e2dd;
	background-color: #2d292b;
	border: 1px solid rgba(229, 220, 212, 0.18);
	border-inline-start: 3px solid var(--tote-note-accent, #b5522a);
	border-inline-start-color: var(--tote-note-accent, #b5522a) !important;
	border-radius: 10px;
}

.tote-widget .tote-note-marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	color: var(--tote-note-accent, #b5522a) !important;
	font-size: 15px;
	font-weight: 700;
	font-style: normal;
	line-height: 1;
	border: 1px solid var(--tote-note-accent, #b5522a);
	border-color: var(--tote-note-accent, #b5522a) !important;
	border-radius: 50%;
}

.tote-widget .tote-note-content {
	min-width: 0;
}

.tote-widget .tote-note-title {
	margin: 0 0 5px;
	color: var(--tote-note-accent, #b5522a) !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.tote-widget .tote-note-text {
	color: #e8e2dd;
	font-size: 14px;
	line-height: 1.55;
}

.tote-widget .tote-note-text > :first-child {
	margin-block-start: 0;
}

.tote-widget .tote-note-text > :last-child {
	margin-block-end: 0;
}

.tote-widget .tote-note-text p {
	margin-block: 0;
}

/* Editor-only empty state. */
.tote-editor-placeholder {
	padding: 24px;
	color: #555;
	font-size: 14px;
	text-align: center;
	background: #f4f4f4;
	border: 1px dashed #bbb;
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.tote-widget .tote-table thead th {
		padding: 13px 18px;
		font-size: 11px;
	}

	.tote-widget .tote-table tbody td,
	.tote-widget .tote-table tbody th {
		padding: 14px 18px;
		font-size: 13px;
	}

	.tote-widget .tote-option-wrap {
		gap: 12px;
	}

	.tote-widget .tote-option-title {
		font-size: 14px;
	}

	.tote-widget .tote-icon {
		width: 42px;
		min-width: 42px;
		font-size: 30px;
	}

	.tote-widget .tote-icon svg {
		width: 30px;
		height: 30px;
	}

	.tote-widget .tote-assessment-note {
		grid-template-columns: 28px minmax(0, 1fr);
		gap: 11px;
		padding: 16px;
	}

	.tote-widget .tote-note-marker {
		width: 26px;
		height: 26px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.tote-widget .tote-table tbody td,
	.tote-widget .tote-table tbody th,
	.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody tr {
		transition: none;
	}
}

@media print {
	.tote-widget.tote-layout-cards.tote-is-compact .tote-shell {
		background-color: #fff !important;
		border: 1px solid #777 !important;
	}

	.tote-widget.tote-layout-cards.tote-is-compact .tote-table,
	.tote-widget.tote-layout-cards.tote-is-compact .tote-table tbody {
		display: table;
	}

	.tote-widget.tote-layout-cards.tote-is-compact .tote-table tr {
		display: table-row;
	}

	.tote-widget.tote-layout-cards.tote-is-compact .tote-table td,
	.tote-widget.tote-layout-cards.tote-is-compact .tote-table th {
		display: table-cell;
	}

	.tote-widget .tote-scroll {
		overflow: visible !important;
	}

	.tote-widget .tote-assessment-note {
		color: #111 !important;
		background: #fff !important;
		border: 1px solid #777 !important;
	}

	.tote-widget .tote-note-title,
	.tote-widget .tote-note-text,
	.tote-widget .tote-note-marker {
		color: #111 !important;
	}

	.tote-widget .tote-note-marker {
		border-color: #111 !important;
	}
}
