@media (max-width: 768px) {
	/* hack - remove after ab */
	.tps_productAddToCart {
		margin-top: 20px !important;
	}
}

.option-popup {
	width: 20rem
}

.option-popup .option-img {
	width: 100%;
	height: 10rem;
	align-items: center
}

.option-popup .option-img img {
	display: block;
	margin: auto;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%
}

.option-popup .option-title {
	text-align: center
}

.option-popup .option-title span {
	font-size: 0.8rem;
	color: #545050
}

.option-popup .option-price {
	margin: 0.5rem 0;
	text-align: center
}

.option-popup .option-price span {
	color: #545050;
	font-size: 0.8rem
}

.option-popup .option-cta {
	text-align: center;
	margin-bottom: 1rem
}

.option-popup .option-cta button {
	-moz-appearance: none;
	appearance: none;
	outline: none
}


.tps_productDetailOption {
	position: relative;
	user-select: none;
	user-drag: none;
	flex-grow: 0;
	flex-shrink: 0;
	padding: 4px;
	border: 2px solid #f1f1f1;
	cursor: pointer;
	font-size: 14px;
	line-height: 18px;
	justify-items: center;
	align-items: center;
	text-align: center;
	word-break: break-word;
	min-height: 130px;
}

.tps_productDetailOption:not(.tps__disabled):not(.tps__selected):hover {
	border: 2px solid #c1c1c1;
}


.tps_productDetailOption.tps__selected {
	border-color: #62564a
}

.tps_productDetailOption_name {
	padding: 5px;
	width: 100%;
	text-align: center;
}

.tps_productDetailOption_imageAndText {
	display: grid;
	height: auto;
	justify-items: stretch;
	grid-template-rows: 1fr auto 28px;

}
.tps_productDetailOption_imageAndText img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	padding: 10px;
}

.tps_productDetailOption_smallImage {

}

.tps_productDetailOption_text {
	display: grid;
	height: auto;
	grid-template-rows: auto 28px;
}

.tps_productDetailOption_input {
	display: none;
}

.tps_productDetailOption_sold {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.tps_productDetailOption_sold div {
	display: block;
	color: red;
	border: 1px solid red;
	background: #fff;
	padding: 3px 5px;
	opacity: 0.95;
}

.tps_productDetailOption_sold a {
	color: #62564a;
	display: block;
	padding-top: 3px;
}

.tps_productDetailOption_sold a:hover {
	text-decoration: underline;
}

.tps_productDetailOption_zoom {
	grid-area: image;
	height: 22px;
	width: 22px;
	align-self: flex-start;
	justify-self: left;
	z-index: 1;
	background-image: url('product-option-zoom-inactive.svg');
	background-size: contain;
	display: none;
}

.tps_productDetailOption:hover .tps_productDetailOption_zoom {
	background-image: url('product-option-zoom-active.svg');
}


.tps_productDetailOptionType_header {
	display: grid;
	grid-template-columns: 1fr;
	font-size: 18px;
	line-height: 23px;
}

.tps_productDetailOptionType_slider {
	display: flex;
}

.tps_productDetailOptionType_sliderLeft,
.tps_productDetailOptionType_sliderRight {
	display: none;
}


/*new styles*/
.tps_productDetailOptionType_boxDesktop {
	overflow: hidden;
	max-height: 0;
	transition: 0.5s;
}

.tps_productDetailOptionType_boxDesktopShowed {
	max-height: 1000px;
	padding-bottom: 20px;
	overflow: visible;
}


.tps_productDetailOptionType_titleDesktop {
	cursor: pointer;
	align-items: center;
}

.tps_productDetailOptionType_header svg {
	width: 10px;
	height: 10px;
}

.tps_productDetailOptionType_arrowTransformed {
	transform: rotate(180deg);
}

.tps_productDetailOptionType_selectedName {
	display: none;
}

.tps_productDetailOptionType_selectedName div {
	display: inline-block;
}

.tps_productDetailOption_priceBeforeDiscount {
	text-decoration: line-through;
}

.tps_productDetailOption_priceAfterDiscount {
	color: #C3363B;
}

/*move to needed selectors without important styles */
.tps_productAddToCart {
	border-top: none !important;
}

.tps_productDetailOptionType_titleDesktop div:first-child {
	text-transform: uppercase;
	font-size: 15px;
}

.tps_productDetails_hiddenOnDesc {
	display: block;
}

.tps_productDetailOptionType_itemsInner {
	grid-gap: 10px!important;
}

.tps_productDetail_stopPosition {
	position: relative;
}

.tps_productDetail_stickyPosition {
	position: fixed;
	z-index: 9;
}

.tps_productDetailOption_soldNotifyOptionModalBox {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tps_productDetailOption_soldNotifyOptionModal {
	color: #62564a;
	display: block;
	padding-top: 3px;
	cursor: pointer;
	border-bottom: 1px solid;
	transition: 0.3s;
	width: fit-content;
}

.tps_productDetailOption_soldNotifyOptionModal:hover {
	color: #0e0e0e;
}

.tps_productDetailOptionType_optionsContainer .tps_productDetailOptionType_arrow {
	display: none;
}

@media (min-width: 768px) {
	.tps_productDetailOptionType_extraHeader {
		grid-template-columns: 1fr 15px !important;
	}

	.tps_productDetailOptionType_header {
		margin: 20px 0;
		grid-template-columns: 230px auto 10px;
	}

	.tps_productDetailOptionType_arrow {
		display: block;
		transition: 0.5s;
		cursor: pointer;
	}

	.tps_productDetailOptionType_optionsContainer {
		border-bottom: 1px solid #dddd;
	}

	.tps_productDetailOptionType_optionsContainer .tps_productDetailOptionType_arrow {
		display: block;
	}


	.tps_productDetailOptionType_selectedName {
		display: block;
		font-size: 14px;
		cursor: pointer;
		margin-left: 10px;
	}


	.tps_productDetailOption {
		font-size: 11.7px;
		line-height: 16px;
	}
}

@media (min-width: 992px) {
	.tps_productDetails_hiddenOnDesc {
		display: none;
	}
}

@media (min-width: 1200px) {
	.tps_productDetailOptionType_slider {
		margin-left: -27px;
		margin-right: -27px;
	}

	.tps_productDetailOptionType_sliderLeft,
	.tps_productDetailOptionType_sliderRight {
		background: #f1f1f1;
		width: 27px;
		display: flex;
		align-items: center;
		cursor: pointer;
		visibility: hidden;
		user-select: none;
		transition: background 0.5s;
	}

	.tps_productDetailOptionType_sliderLeft svg,
	.tps_productDetailOptionType_sliderRight svg {
		width: 27px;
		height: 27px;
		fill: #62564a;
	}

	.tps_productDetailOptionType_sliderLeft:hover,
	.tps_productDetailOptionType_sliderRight:hover {
		background: #62564a;
	}

	.tps_productDetailOptionType_sliderLeft:hover svg,
	.tps_productDetailOptionType_sliderRight:hover svg {
		fill: #fff;
	}
}

.tps_productDetailOptionType_items {
	flex-grow: 1;
	overflow: hidden;
	overflow-x: scroll;
}

.tps_productDetailOptionType_items::-webkit-scrollbar {
	display: none;
}

.tps_productDetailOptionType_itemsInner {
	display: grid;
	transition: transform 0.5s;
	grid-auto-flow: column;
	grid-auto-columns: var(--tps_productDetailOptionType_item_width);
	grid-gap: 4px;
	--tps_productDetailOptionType_item_width: calc((var(--tps_productDetail_grid_column2width) - 8px) / 2.5);
}

@media (min-width: 992px) {
	.tps_productDetailOptionType_itemsInner {
		--tps_productDetailOptionType_item_width: calc((var(--tps_productDetail_grid_column2width) - 30px) / 3);
	}
}

@media (min-width: 1140px) {
	.tps_productDetailOptionType_itemsInner {
		--tps_productDetailOptionType_item_width: calc((var(--tps_productDetail_grid_column2width) - 10px * 3) / 4);
	}
}

.tps_productDetailOptionType_tooltip {
	cursor: pointer;
	display: inline-block;
	margin-left: 5px;
	width: 15px;
	height: 15px;
	background-repeat: no-repeat;
	background-image: url(/tps/pages/product/action-modal-options/images/info.svg);
	background-size: contain;
	opacity: 1;
}

.tps_productDetailOptionType_tooltip:hover {
	opacity: 0.8;
}


.tps_productDetailOption_more {
	display: none;
}

.tps_productDetailOptionType_pager {
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.tps_productDetailOptionType_page {
	width: 35px;
	height: 4px;
	margin: 0 3px;
	border-radius: 10px;
	background: #cbc8c8;
	transition: background 0.5s;
	cursor: pointer;
}

.tps_productDetailOptionType_page.tps__active {
	background: black;
	cursor: default;
}

@media (min-width: 992px) {
	.tps_productDetailOption.tps__hidden {
		display: none !important;
	}

	.tps_productDetailOption_moreImage {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 0 15px;
	}

	.tps_productDetailOption_moreImage p {
		margin: 0;
		padding: 0;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #ddd;
		text-align: left;
		width: 100%;
		font-size: 16px;
		color: #666;
	}

	.tps_productDetailOption_moreImageContent {
		display: flex;
		justify-content: space-between;
		font-size: 14px;
		width: 100%;
	}

	.tps_productDetailOption_moreImage span {
		font-size: 20px;
		margin-top: -3px;
		margin-right: -6px;
	}


	.tps_productDetailOption_moreText {
		display: grid;
		height: auto;
		grid-template-rows: auto 28px;
		padding: 0 10px;
	}

	.tps_productDetailOption_moreText p {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #ddd;
		width: 100%;
		color: #666;
	}

	.tps_productDetailOption_moreTextContent {
		display: flex;
		justify-content: center;
		width: 100%;
		font-size: 10px;
	}

	.tps_productDetailOption_moreText span {
		font-size: 20px;
		padding-left: 2px;
		margin-top: -3px;
		margin-right: -6px;
	}

}
