/* Container */
.hs-compare-table {
	grid-column: col-start 1 / span 9!important;
	margin: 20px 0;
}

/* Headline */
.hs-compare-table__topbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin: 0 0 14px;
	position: relative;
}

.hs-compare-table__headline{
	margin:0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 400;
  font-family: 'Brandon Text Medium';  
}

.hs-compare-table__navwrap {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 50;
    align-items: anchor-center;
    justify-content: flex-end;
    margin-top: 20px;
}

.hs-compare-table__nav{
	position: static;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: #9F8273;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    padding: 0px;
}

.hs-compare-table__no-offer{
	font-weight: 400;
  font-family: 'Brandon Text Medium';  
	opacity: .75;
}

.hs-compare-table__yes{
	display: block;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-weight: 400;
  font-family: 'Brandon Text Medium';  
    text-align: center;
    margin: 0 auto;
}
.hs-compare-table__no{
	display: block;
	align-items:center;
	justify-content:center;
	width:26px;
	height:26px;
	border-radius:50%;
	color:#d5483b;
	font-weight: 400;
  font-family: 'Brandon Text Medium';  
	margin: 0 auto;
}


/* Frame (desktop scroller) */
.hs-compare-table__frame{
	position: relative;
	border-radius: 18px;
	border: 2px solid rgba(46, 125, 162, 0.35);
	overflow: visible;
	background: #fff;
}

.hs-compare-table__nav--left{ left: 12px; }
.hs-compare-table__nav--right{ right: 12px; }
.hs-compare-table__nav:hover{ background: rgba(0,0,0,0.14); }

/* Scroller */
.hs-compare-table__scroller{
	overflow-x: auto;
	overflow-y: visible;
	padding: 0;
	scrollbar-width: thin;
	border-radius: 18px 18px 0 0;
}

/* Table */
table.hs-compare-table__table{
	border-collapse: separate;
	border-spacing: 0;
	min-width: 980px;
	width: 100%;
	margin: 0px;
}

/* Header row */
.hs-compare-table__head th{
	background: #378CB5;
	color: #fff;
	padding: 18px 12px;
	vertical-align: top;
	position: relative;
	z-index: 6;
	will-change: transform;
}
.hs-compare-table__corner{
	min-width: 220px;
	position: sticky;
	left: 0;
	z-index: 50!important;
	background-color: #378CB5 !important;
	will-change: transform;
}
.hs-compare-table__colhead{
	min-width: 240px;
	text-align: center;
}

/* Badge */
.hs-compare-table__badge{
    display: block;
    padding: 6px 14px;
    border-radius: 14px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background: #96B7D2;
    font-weight: 400;
  font-family: 'Brandon Text Medium';  
    font-size: 13px;
    margin-bottom: 10px;
    position: absolute;
    top: 0px;
    margin: 0 auto;
	width: 160px;
    left: calc(50% + -80px);
}

/* Name */
.hs-compare-table__name{
    font-weight: 400;
	font-family: 'Brandon Text Medium';  
    font-size: 16px;
    padding: 25px 0px 0px;
}

/* Images row */
.hs-compare-table__images th{
	position: sticky;
	left: 0;
	z-index: 11;
	background: #fff;
	border-right: 1px solid #96B7D2;
	will-change: transform;
}

.hs-compare-table__images td{
	position: relative;
	z-index: 5;
	background: #fff;
	text-align: center;
	padding: 16px 12px;
	border-right: 1px solid #96B7D2;
	will-change: transform;
}
.hs-compare-table__imagewrap{
	position: relative;
	display: inline-block;
	width: 170px;
	max-width: 100%;
}
.hs-compare-table__imagewrap img{
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}
.hs-compare-table__noimg{
	width: 170px;
	height: 130px;
	border-radius: 10px;
	background: #e8e8e8;
}

/* Testnote overlay */
.hs-compare-table__testnote{
	position: absolute;
	right: 8px;
	top: 8px;
	background: rgba(255,255,255,0.95);
	border-radius: 12px;
	padding: 8px 10px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.14);
	font-size: 12px;
	min-width: 120px;
}
.hs-compare-table__testnote-top{
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
}
.hs-compare-table__testnote-top .t1{ opacity: 0.8; }
.hs-compare-table__testnote-bottom{
	margin-top: 4px;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
	text-transform: uppercase;
}

/* Body rows */
.hs-compare-table__row th,
.hs-compare-table__row td{
	padding: 5px 14px;
	border-right: 1px solid #96B7D2;
}
.hs-compare-table__row:nth-child(odd) th,
.hs-compare-table__row:nth-child(odd) td{
	background: #EAF1F6;
}

/* sticky rowhead */
.hs-compare-table__rowhead{
	min-width: 220px;
	text-align: left;
	font-weight: 800;
	position: sticky;
	left: 0;
	z-index: 10;
	background: #fff;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
}

/* Yes/No */
.hs-compare-table__yes{
	font-size: 18px;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
}
.hs-compare-table__no{
	font-size: 18px;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
}

/* Price */
.hs-compare-table__cell--price{
	text-align: center;
}
.hs-compare-table__price-old{
	text-decoration: line-through;
	opacity: 0.75;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
	margin-bottom: 4px;
}
.hs-compare-table__price-new{
	font-size: 22px;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
	color: #d5483b;
}

/* Offer button + logo */
.hs-compare-table__cell--offer{
	text-align: center;
}
.hs-compare-table__btn{
	display: inline-block;
	padding: 10px 18px;
	border-radius: 14px;
	background: #9a7b6b;
	color: #fff;
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
	text-decoration: none;
}
.hs-compare-table__btn--disabled{
	opacity: 0.5;
	cursor: not-allowed;
}
.hs-compare-table__logo{
	margin-top: 10px;
}
.hs-compare-table__logo img{
	max-height: 26px;
	width: auto;
	margin: 0 auto;
}
.hs-compare-table__logo-fallback{
	font-weight: 400;
	font-family: 'Brandon Text Medium';  
	opacity: 0.8;
}

/* list attribute */
.hs-compare-table__cell--list ul{
	margin: 0;
	padding-left: 18px;
}
.hs-compare-table__cell--list li{
	margin: 4px 0;
}

/* More button */
.hs-compare-table__morewrap{
    display: block;
    padding: 0px;
    justify-content: center;
    background: #9a7b6b;
}

.hs-compare-table__more {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 400;
	font-family: 'Brandon Text Medium';  
    display: block;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    padding: 20px;
}
.hs-compare-table__more-icon{
	font-size: 18px;
}

.hs-compare-table.hs-compare--collapsed span.hs-compare-table__more-icon {
    transform: rotate(180deg);
    display: inline-block;
}

/* Stand */
.hs-compare-table__stand {
    padding: 10px 6px;
    font-size: 13px;
    opacity: 0.75;
    text-align: left;
    display: inline-block;
    float: left;
    margin-top: 10px;
}

.hs-compare-table__footer{
	background:#fff;
}

.hs-compare-table__cell--test{
  text-align:left;
}



/* Collapse: funktioniert egal ob die Klasse auf root/frame/mobile sitzt */

.hs-compare-table__frame.hs-compare--collapsed .is-hidden,
.hs-compare-mobile.hs-compare--collapsed .is-hidden{
  display:none;
}

/* default: mobile hidden on desktop */
.hs-compare-mobile{
	display:none;
}

/* Badge */
.hs-compare-table__cell--test {
	padding: 12px;
	vertical-align: middle;
}



.hs-testreport-badge--compare .hs-testreport-badge__brand {
	height: 26px;
	background: url(home-and-smart-logo-svg.svg) center center / auto 26px no-repeat;
}

.hs-compare-mobile .hs-testreport-badge--compare {
	min-height: 110px;
}

.hs-compare-table__head th.hs-compare-is-sticky,
.hs-compare-table__images th.hs-compare-is-sticky,
.hs-compare-table__images td.hs-compare-is-sticky {
	box-shadow: 0 1px 0 #96B7D2;
}

.hs-compare-mobile__section--head {
	position: relative;
	z-index: 20;
	will-change: transform;
	background: #378CB5;
}

.hs-compare-mobile__section--head.hs-compare-is-sticky {
	z-index: 30;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hs-compare-mobile__section {
	position: relative;
}
/* Mobile layout */
@media (max-width: 820px){

	.hs-compare-mobile {
        display: block;
        border: 1px solid #96B7D2;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        overflow: hidden;
        border-top-right-radius: 16px;
        border-top-left-radius: 16px;
    }

	.hs-compare-table {
	    grid-column: col-start 1 / span 12 !important;
	    margin: 20px 0;
	}

	.hs-compare-table__frame{ display:none; }
	.hs-compare-mobile{ display:block; }

	/* Mobile sections */
	.hs-compare-mobile__section{
		border-bottom: 1px solid rgba(0,0,0,0.06);
		text-align: center;
		scrollbar-width: none;
	}

	.hs-compare-mobile__rowlabel{
		padding: 14px 12px;
		font-weight: 400;
		font-family: 'Brandon Text Medium';  
		background:#fff;
	}

	/* horizontal scroller per row */
	.hs-compare-mobile__rowvalues{
		overflow-x: auto;
		padding: 0 0 10px;
	}

	.hs-compare-mobile__rowinner{
		display:flex;
		min-width: 520px;
	}

	.hs-compare-mobile__cellwrap,
	.hs-compare-mobile__colhead{
		min-width: calc(50vw - +15px);
		padding: 14px 12px;
		border-right: 1px solid rgba(0,0,0,0.06);
	}

	.hs-compare-table__imagewrap {
	    margin-top: 15px;
	}

	/* Kopfbereich optisch wie desktop header */
	.hs-compare-mobile__section--head .hs-compare-mobile__rowlabel{
		display:none;
	}

	.hs-compare-mobile__section--head .hs-compare-mobile__rowvalues{
		background: #378CB5;
		color:#fff;
		padding: 0;
	}

	.hs-compare-mobile__section--head .hs-compare-mobile__colhead{
		border-right: 1px solid rgba(255,255,255,0.18);
		border-bottom: 1px solid rgba(255,255,255,0.18);
		text-align:center;
		padding: 18px 12px;
		position: relative;
	}

	.hs-compare-mobile__rowlabel {
	    font-family: 'Brandon Text Medium';
	}

	/* Zebra look for cells */
    .hs-compare-mobile__section:nth-child(odd), .hs-compare-mobile__section:nth-child(odd) .hs-compare-mobile__rowlabel {
        background: #EAF1F6 !important;
    }

	.hs-compare-mobile__section:nth-child(even) .hs-compare-mobile__cellwrap{
		background:#fff;
	}

	.hs-compare-is-sticky .hs-compare-table__imagewrap {
		display: none;
	}

	.hs-testreport-badge--compare .hs-testreport-badge__brand {
		height: 20px;
		background: url(home-and-smart-logo-svg.svg) center center / auto 20px no-repeat;
	}
	
	.hs-testreport-badge__grade {
		font-size: 22px;
	}

	.hs-testreport-badge__small {
		font-size: 12px;
	}

	.hs-compare-table__headline {
		display: none;
	}
	/* collapse */
	.hs-compare-mobile.hs-compare--collapsed .is-hidden{ display:none; }
}
