:root {
	--color: #000;
	--font-size: 12pt;
}

#custom_style {
	line-height: calc(var(--font-size) + 4pt) !important;
	font-size: var(--font-size) !important;
}

/* h1 h2 h3 */
#custom_style h1>*,
#custom_style h2>*,
#custom_style h3>* {
	line-height: calc(var(--font-size) + 8pt) !important;
	text-align: justify !important;
}

#custom_style h1,
#custom_style h2,
#custom_style h3 {
	line-height: calc(var(--font-size) + 10pt) !important;
}

/* h1 */
#custom_style h1>* {
	font-size: calc(var(--font-size) + 6pt) !important;
}

/* h2 */
#custom_style h2>* {
	font-size: calc(var(--font-size) + 4pt) !important;
}

/* h3 */
#custom_style h3>* {
	font-size: calc(var(--font-size) + 2pt) !important;
}

/* images */
#custom_style img {
	max-width: 100% !important;
	height: auto !important;
}


/* frames */
#custom_style iframe {

	max-width: 100% !important;
}

/* a link */
#custom_style a {
	text-decoration: underline !important;
	color: #FF8000 !important;
}

#custom_style a:hover {
	text-decoration: none !important;
	color: #000 !important;
	transition: color 0.5s ease !important;
}

/* ul li */
#custom_style ul {
	padding: 0px;
	margin-left: 20px !important;
	list-style: disc !important;
	color: #000 !important;
}

#custom_style ul li {}


/* accessories */
.accessory-description {
	font-size: 12px;
	color: #666;
	line-height: 1.4;
}

.accessory-more-link {
	font-weight: 500;
	text-decoration: underline;
	color: #1d9001;
	cursor: pointer;
}

.accessory-more-link:hover {
	text-decoration: none;
	color: #000;
}

.accessory-checkbox {
	width: 18px;
	height: 18px;
	accent-color: #1d9001;
	cursor: pointer;
	display: block;
}

.accessories-wrapper .tooltip-wrapper-info {
	color: #666 !important;
	/* jemná sivá */
	opacity: 0.8;
	transition: color 0.3s ease;
	cursor: pointer;
}

/* variants */
.variant-row {
	display: flex;
	align-items: center;
	min-height: 70px;
	padding: 10px;
}

.variant-img-wrap {
	width: 70px;
	display: flex;
	align-items: center;
}

.variant-img {
	height: 50px;
	width: auto;
}

.variant-name-wrap {
	flex: 1;
	padding: 0 10px;
	display: flex;
	align-items: center;
}

.variant-price-wrap {
	min-width: 80px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.variant-price-wrap .material-icons {
	font-size: 20px;
	margin-left: 10px;
	color: #000;
	transition: color 0.3s ease;
}

.variant-inactive {
	background-color: #f5f5f5;
	color: #000;
	position: relative;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.variant-list:not(.variants-collapsed) a.variant-inactive:hover:not(#variantToggle) {
	box-shadow: 0 0 0 2px #1d9001 inset;
	border-radius: 10px;
}

.variant-inactive:hover:not(#variantToggle)::after {
	opacity: 0;
}

.variant-inactive::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	height: 1px;
	background-color: #ddd;
	transition: opacity 0.2s ease;
}

.variant-inactive#variantToggle::after {
	display: none;
}

.variant-inactive:first-of-type {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.variant-inactive:last-of-type {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.variants-collapsed a:nth-child(n+3) {
	display: none !important;
}

.variants-collapsed a:nth-child(1) {
	opacity: 1 !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	transition: opacity 0.3s ease !important;
}

.variants-collapsed a:nth-child(2) {
	opacity: 1 !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	transition: opacity 0.3s ease !important;
	height: 38px !important;
	overflow: hidden;
}

.variants-collapsed a:nth-child(2)::after {
	opacity: 0 !important;
}

.variant-list.expanded a {
	display: block;
	opacity: 1;
	cursor: pointer;
}

#variantToggle {
	background-color: #f57900;
	color: #fff;
	box-shadow: none;
	mix-blend-mode: unset !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#variantToggle .material-icons {
	color: #000;
	transition: color 0.3s ease;
}

#variantToggle.expanded {
	background-color: #f57900;
	color: #fff;
}

#variantToggle.expanded .material-icons {
	color: #fff;
}

#variantToggle:hover {
	background-color: #f57900;
	color: #fff;
	box-shadow: none;
	mix-blend-mode: unset !important;
}

.toggle-icon {
	transition: transform 0.3s ease;
	cursor: pointer;
}

.toggle-icon.rotated {
	transform: rotate(180deg);
}

.opacity-50 {
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.opacity-50:hover {
	opacity: 0.7;
}

.cursor-pointer {
	cursor: pointer;
}

#variantToggle .toggle-icon {
	color: #000;
}

#variantToggle.expanded .toggle-icon {
	color: #fff;
}

#variantToggle:hover .toggle-icon,
#variantToggle .toggle-icon {
	color: #fff;
}

#variantToggle.expanded:hover .toggle-icon {
	color: #fff;
}

.variant-list.expanded a:last-of-type .variant-inactive::after,
.variant-list.expanded a:last-of-type::after {
	display: none;
}

.variant-bottom-toggle {
	opacity: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 2px;
	padding: 2px;
	background-color: #DFDFDF;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.variant-bottom-toggle:hover {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.variant-bottom-toggle .material-icons {
	font-size: 24px;
	color: #000;
	transition: color 0.3s ease, transform 0.3s ease;
}

.variant-bottom-toggle.expanded .material-icons {
    transform: rotate(180deg);
    color: #ffffff;
}

.variant-bottom-toggle.expanded {
	background-color: #f57900;
	opacity: 1;
}

img.no-white-bg {
	mix-blend-mode: multiply;
	transition: mix-blend-mode 0.3s ease;
}

#variantToggle:hover .no-white-bg,
#variantToggle.expanded .no-white-bg,
#variantToggle .no-white-bg {
	mix-blend-mode: normal;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, 1);
}

@media only screen and (min-width: 600px) {
	.accessories-wrapper .tooltip-wrapper {
		margin-left: -140px !important;
	}
}



/* tables */
#custom_style table>* {
	line-height: calc(var(--font-size) + 2pt) !important;
	font-size: var(--font-size) !important;
}

#custom_style table {
	border: solid 1px #DFDFDF !important;
	width: 100% !important;

}

@media only screen and (max-width: 600px) {
	#custom_style table {
		display: flex;
		overflow-x: scroll;
	}
}

#custom_style table tr td {
	border: solid 1px #DFDFDF !important;
	padding: 10px !important;
}

#custom_style table tr:nth-child(even) {
	background: #F0F0F0 !important;
}

@media only screen and (max-width: 767px) {
	:root {
		--color: #000;
		--font-size: 11pt;
	}

	#custom_style>p {
		line-height: calc(var(--font-size) + 4pt) !important;
		font-size: var(--font-size) !important;
	}

	/* h1 h2 h3 */
	#custom_style h1>*,
	#custom_style h2>*,
	#custom_style h3>* {
		line-height: calc(var(--font-size) + 8pt) !important;
		text-align: justify !important;
	}

	/* h1 */
	#custom_style h1>* {
		font-size: calc(var(--font-size) + 6pt) !important;
	}

	/* h2 */
	#custom_style h2>* {
		font-size: calc(var(--font-size) + 4pt) !important;
	}

	/* h3 */
	#custom_style h3>* {
		font-size: calc(var(--font-size) + 2pt) !important;
	}

	/* tables */
	#custom_style table>* {
		line-height: calc(var(--font-size) + 2pt) !important;
		font-size: var(--font-size) !important;
	}
}
