.hanout-compare-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 14px;
	font-size: 13px;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	transition: all .15s ease;
}
.hanout-compare-btn.added {
	background: #2e7d32;
	color: #fff;
	border-color: #2e7d32;
}

#hanout-compare-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 9999;
	background: #1f2937;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 10px 16px;
	box-shadow: 0 -2px 10px rgba(0,0,0,.15);
}
#hanout-compare-bar .button,
#hanout-compare-bar .hanout-compare-clear {
	background: #fff;
	color: #1f2937;
	border: none;
	padding: 6px 16px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	font-size: 13px;
}
#hanout-compare-bar .hanout-compare-clear {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.5);
}

.hanout-compare-wrap {
	margin: 20px 0;
}
.hanout-compare-scroll {
	overflow-x: auto;
}
.hanout-compare-front-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
}
.hanout-compare-front-table th,
.hanout-compare-front-table td {
	border: 1px solid #e5e7eb;
	padding: 12px;
	text-align: center;
	vertical-align: middle;
}
.hanout-compare-label-col {
	background: #f9fafb;
	font-weight: 600;
	text-align: start;
	white-space: nowrap;
}
.hanout-compare-product-head img {
	max-width: 110px;
	height: auto;
	display: block;
	margin: 0 auto 8px;
}
.hanout-compare-name {
	font-weight: 600;
	margin-bottom: 4px;
}
.hanout-compare-price {
	margin-bottom: 8px;
	color: #b91c1c;
}
.hanout-compare-buy {
	display: inline-block;
	margin-bottom: 6px;
}
.hanout-compare-remove {
	display: block;
	margin: 4px auto 0;
	background: none;
	border: none;
	color: #b91c1c;
	cursor: pointer;
	font-size: 12px;
	text-decoration: underline;
}
.hanout-compare-notice {
	display: block;
	margin-top: 8px;
	padding: 8px 12px;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #7f1d1d;
	border-radius: 4px;
	font-size: 13px;
	max-width: 320px;
}
.hanout-compare-notice a {
	font-weight: 600;
	text-decoration: underline;
}
.hanout-compare-picker {
	margin-bottom: 24px;
	padding: 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}
.hanout-compare-slots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}
.hanout-compare-slot {
	position: relative;
}
.hanout-compare-slot label {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 4px;
}
.hanout-compare-slot-input {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
}
.hanout-compare-slot-results {
	display: none;
	position: absolute;
	z-index: 20;
	top: 100%;
	inset-inline: 0;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.hanout-compare-result-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	cursor: pointer;
	font-size: 13px;
}
.hanout-compare-result-item:hover {
	background: #f3f4f6;
}
.hanout-compare-result-item img {
	width: 30px;
	height: 30px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}
.hanout-compare-no-results {
	padding: 8px 10px;
	font-size: 13px;
	color: #9ca3af;
}
#hanout-compare-picker-notice {
	color: #b91c1c;
	font-size: 13px;
	min-height: 18px;
	margin-bottom: 8px;
}
#hanout-compare-go-btn {
	width: 100%;
}

.hanout-compare-extra-cell {
	text-align: start;
	white-space: normal;
	line-height: 1.7;
	max-width: 260px;
}

.hanout-compare-footer-actions {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	margin-top: 16px !important;
	max-width: 320px !important;
}
.hanout-compare-footer-actions .button,
.hanout-compare-footer-actions a.button {
	display: block !important;
	position: static !important;
	width: 100% !important;
	box-sizing: border-box !important;
	text-align: center !important;
	margin: 0 !important;
	float: none !important;
}
.hanout-compare-back-shop,
.hanout-compare-back-home {
	text-decoration: none;
}
.hanout-compare-empty {
	padding: 20px;
	text-align: center;
	background: #f9fafb;
	border: 1px dashed #ccc;
	border-radius: 6px;
}
