#compare-page {
	outline:0;
}

.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding-top: 20px; /* space for toggle */
    font-size: 14px;
    display: none;
}

.compare-bar__toggle {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 40px 10px 25px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.compare-bar__content {
    display: none;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: auto;
}

.compare-bar__item {
	flex: 1;
	border: 1px dashed #ababab;
	margin: 0 5px;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	border-radius: 10px;
	align-items: center;
}

.compare-item__image {
	display: block;
	margin: 0;
	max-width: 50px;
	max-height: 70px;
	width: auto;
	height: auto;
}

.compare-item__info {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.compare-item__remove {
	color: #000;
	cursor: pointer;
	width: 22px;
	border: 1px solid #a0a0a0;
	height: 22px;
	border-radius: 50px;
	text-align: center;
	line-height: 22px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.compare-bar__container {
    display: flex;
    flex-wrap: wrap;
}

.compare-item__text {
    flex: 1;
    padding: 0 15px;
}

.compare-item__text p {
    padding: 0;
    margin: 5px 0;
}

.compare-bar__item--filled {
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
}

.compare-bar__button {
    flex-basis: 190px;
    align-self: center;
    background: #000;
    border-radius: 10px !important;
    overflow: hidden;
    transition: 0.6s;
}

.compare-bar__button a {
    display: flex !important;
    text-transform: none;
    color: #fff !important;
    align-items: center;
    justify-content: center;
}

.compare-bar__button:hover {
    background: #cc9b6f;
}

.compare-bar__button img {
    width: 30px;
    margin-right: 10px;
    filter: invert(93%) sepia(0%) saturate(7500%) hue-rotate(108deg) brightness(147%) contrast(110%);
}

.compare-bar__flex {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
}

.compare-bar__toggle:after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	display: inline-block;
	width: 16px;
	height: 16px;
	position: absolute;
	right: 15px;
}

.compare-bar__toggle.compare-tab-open:after {
	transform: rotate(180deg);
}

.swipe-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.7);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

.swipe-overlay img {
	width: 80px;
	margin-bottom: 10px;
}

.swipe-overlay p {
	font-size: 16px;
	font-weight: bold;
}

#compare-page .comparison-wrapper .comparison-card-item {
	white-space: normal;
	vertical-align: top;
	flex-basis: 33.33%;
	padding: 20px;
	min-width: 230px;
}

.comparison-card-item__header {
	display: flex;
	flex-direction: column;
}

.comparison-card-item .product__performance-section--single {
    margin-bottom: auto;
}

.comparison-card-item .button {
	background:#000 !important;
	width: calc(100% - 40px) !important;
	left: 20px !important;
}

#compare-page .comparison-card-item .button.top {
	position: relative;
	width: 100% !important;
	left: 0 !important;
	bottom: 0;
	margin-top: 20px;
	display:none !important
}

.comparison-scroll-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

.comparison-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0 0 20px 0;
}

.comparison-scroll-wrapper {
	overflow-x: none;
    overflow-y:hidden;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: auto;
	transform: rotateX(180deg);
}

.comparison-scroll-wrapper > * {
	transform: rotateX(180deg);
}

.comparison-scroll-wrapper::-webkit-scrollbar {
	height: 10px;
}

.comparison-scroll-wrapper::-webkit-scrollbar-thumb {
	background-color: #aaa;
	border-radius: 6px;
}

.comparison-scroll-wrapper::-webkit-scrollbar-track {
	background: #eee;
}

.compare-card-remove {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 10px;
    right: 10px;
    border: 2px solid #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
}

#compare-page .comparison-card-item h3 {
	margin: 20px 0 !important;
	flex: 1;           
	display: block;     
	text-align: center;
}

img.comparison-card-item_image {
    height: 250px;
    width: auto;
    display: block;
    margin: auto;
}

.compare-overlay {
	position: fixed;
	display: none;
	flex-direction:column;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.65);
	z-index: 999999;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transition: opacity .2s ease, visibility .2s ease;
	color:#fff;
	text-transform:uppercase;
	width: 100%;
	inset: 0;
	font-size:12px;
	font-weight:600;
	pointer-events: auto;
}	
		
#compare-intro-overlay {
	pointer-events: auto;
	z-index: 9999;
}

.compare-overlay.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.compare-overlay svg {
	width: 110px;
}

.compare-overlay svg, .compare-overlay p {
	animation: compare-swipe 1.2s linear infinite;
}

@keyframes compare-swipe {
	0%   { transform: translateX(-10px); }
	50%  { transform: translateX(10px); }
	100% { transform: translateX(-10px); }
}

.price_range {
    display: none;
}

.compare-no-scroll,
.compare-no-scroll body {
	overflow: hidden;
	height: 100%;
	overscroll-behavior: contain;
	touch-action: none;
}



@media (max-width: 1000px) {
	.compare-bar__container {display: block;}
	.compare-bar__button {max-width:200px;margin:20px auto 0;}
}

@media (max-width: 769px) {
	.compare-bar__flex {display:block;}
	.compare-bar__item {margin-bottom:10px;}
	#compare-page .comparison-wrapper .comparison-card-item {min-width: 300px;}
	.compare-overlay {display:flex;}
}