/* --- COMPARE BAR CSS --- */
#compare-bar {
position: fixed; bottom: 0; left: 0; width: 100%;
background: #fff; box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
z-index: 10001; padding: 12px 0;
transition: transform 0.4s ease-in-out;
font-family: sans-serif;
}
.compare-bar-hidden { transform: translateY(100%); }
.compare-bar-visible { transform: translateY(0); }
.compare-container {
max-width: 1200px; margin: auto;
display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}
.compare-items { 
display: flex; gap: 10px; 
overflow-x: auto; 
max-width: 65%;
-webkit-overflow-scrolling: touch;
}
.compare-items::-webkit-scrollbar { display: none; }
.compare-item-thumb {
min-width: 55px; width: 55px; height: 42px; background-size: cover; background-position: center;
border-radius: 6px; border: 1px solid #eee; position: relative;
flex-shrink: 0;
}
.remove-item {
position: absolute; top: -10px; right: -10px; background: #e74c3c; color: #fff;
border-radius: 50%; width: 20px; height: 20px; text-align: center;
cursor: pointer; line-height: 18px; border: 2px solid #fff; font-size: 14px;
}

.btn-primary-comp { background: #3498db; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; }
.btn-clear-comp { background: none; border: none; color: #999; cursor: pointer; font-size: 13px; }

/*compare-boats.php*/
.compare-table-wrap { position: relative; overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid #eee; }
.compare-table { width: auto; border-collapse: separate; border-spacing: 0; background: #fff; table-layout: fixed; }
.compare-table td, .compare-table th { padding: 12px; border-right: 1px solid #eee; border-bottom: 1px solid #eee; text-align: center; box-sizing: border-box; }

.feature-name { position: sticky; left: 0; z-index: 100; background: #fafafa !important; font-weight: 600; text-align: left !important; box-shadow: 2px 0 5px rgba(0,0,0,0.1); }
.section-header { background: #2c3e50 !important; color: #fff !important; text-align: left !important; font-weight: 700; text-transform: uppercase; font-size: 11px; position: sticky; left: 0; z-index: 101; }

.compare-img { width: 100%; height: 140px; object-fit: cover; border-radius: 4px; }
.status-yes { color:#27ae60; font-size:18px; font-weight: bold; }
.status-no { color:#e74c3c; opacity:0.3; }
.score-box { font-size: 26px; font-weight: 800; line-height: 1.2; }
.verdict-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.row-same { opacity: 0.5; }
.diff-only .row-same { display: none; }

#swipe-hint {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	background: rgba(44, 62, 80, 0.8); color: #fff; padding: 15px 25px;
	border-radius: 50px; z-index: 1000; pointer-events: none;
	display: none; flex-direction: column; align-items: center; gap: 10px;
}

@media (max-width: 768px) {
	.compare-img { height: 100px; }
	.heading-section h1 { font-size: 22px !important; }
	#swipe-hint { display: flex; }
}
/*compare-boats.php end*/