/*!
 * Sentio for Elementor - wc-product-compare widget
 * Extracted from frontend.css during WC Batch 1 sub-batch 2 mechanical extraction (2026-04-20).
 * Tier 3 mechanical extraction — body verbatim from monolith (WC-13 section).
 */

/* ── WC-13  Product Compare ───────────────────────────────────────── */

/* Table */
.sentio-cmp__wrap {
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid #eee;
}

.sentio-cmp__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.sentio-cmp__table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	min-width: 500px;
}

.sentio-cmp__table td,
.sentio-cmp__table th {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
	text-align: center;
	font-size: 14px;
	color: #555;
}

/* Label column (first column each row) */
.sentio-cmp__label {
	text-align: left !important;
	font-weight: 600;
	color: #333;
	background: #f8f9fa;
	white-space: nowrap;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Sticky labels */
.sentio-cmp--sticky .sentio-cmp__label {
	position: sticky;
	left: 0;
	z-index: 5;
}

/* Product name header */
.sentio-cmp__product-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-top: 8px;
}

.sentio-cmp__product-name a {
	color: inherit;
	text-decoration: none;
}

.sentio-cmp__product-name a:hover {
	text-decoration: underline;
}

/* Product image */
.sentio-cmp__img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	background: #f0f0f0;
	margin: 0 auto;
	display: block;
}

/* Remove button */
.sentio-cmp__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,0.06);
	color: #999;
	cursor: pointer;
	margin-top: 6px;
	transition: background 0.15s ease, color 0.15s ease;
}

.sentio-cmp__remove:hover {
	background: #e53935;
	color: #fff;
}

/* Best value highlight */
.sentio-cmp__best {
	background: #e8f5e9 !important;
	font-weight: 600;
}

/* Rating in compare */
.sentio-cmp__rating {
	display: inline-flex;
	gap: 1px;
}

.sentio-cmp__rating svg {
	width: 14px;
	height: 14px;
}

/* Stock in compare */
.sentio-cmp__stock--in { color: #16a34a; font-weight: 500; }
.sentio-cmp__stock--out { color: #e53935; font-weight: 500; }

/* Add to cart in compare */
.sentio-cmp__atc {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease;
}

.sentio-cmp__atc:hover {
	background: #111;
}

/* Empty */
.sentio-cmp__empty {
	text-align: center;
	padding: 60px 20px;
}

.sentio-cmp__empty-icon {
	color: #ddd;
	margin-bottom: 12px;
}

.sentio-cmp__empty-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0 0 8px;
}

.sentio-cmp__empty-text {
	font-size: 14px;
	color: #888;
	margin: 0;
}

/* Compare Button */
.sentio-cmp__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #f0f0f0;
	color: #333;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.sentio-cmp__btn:hover {
	background: #e0e0e0;
}

.sentio-cmp__btn--active {
	background: #333;
	color: #fff;
}

.sentio-cmp__btn--active:hover {
	background: #111;
}

/* Floating bar */
.sentio-cmp__bar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99998;
	padding: 12px 20px;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
	animation: sentio-cmp-barIn 0.3s ease;
}

.sentio-cmp__bar--bottom {
	bottom: 0;
}

.sentio-cmp__bar--top {
	top: 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@keyframes sentio-cmp-barIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

.sentio-cmp__bar-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
}

.sentio-cmp__bar-thumbs {
	display: flex;
	gap: -8px;
}

.sentio-cmp__bar-thumb {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	margin-left: -8px;
	background: #f0f0f0;
}

.sentio-cmp__bar-thumb:first-child {
	margin-left: 0;
}

.sentio-cmp__bar-count {
	font-size: 14px;
}

.sentio-cmp__bar-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 20px;
	background: #fff;
	color: #333;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
	margin-left: auto;
}

.sentio-cmp__bar-btn:hover {
	background: #f0f0f0;
}

.sentio-cmp__bar-clear {
	background: none;
	border: none;
	color: rgba(255,255,255,0.6);
	cursor: pointer;
	padding: 4px;
	transition: color 0.15s ease;
}

.sentio-cmp__bar-clear:hover {
	color: #fff;
}

/* Mobile responsive */
@media (max-width: 767px) {
	/* Compare bar */
	.sentio-cmp__bar-inner {
		flex-wrap: wrap;
	}
}


/* ══════════════════════════════════════════════════════════════════
 *  WC-14 Cross-Sells + WC-15 Upsells (shared block)
 *  Moved to assets/css/widgets/wc-cross-sells.css AND
 *  assets/css/widgets/wc-upsells.css during WC Batch 1 sub-batch 1
 *  mechanical extraction (2026-04-20). Comma-separated shared rules
 *  were split per-widget; each per-widget file owns its own copy.
 * ══════════════════════════════════════════════════════════════════ */
