/* iSpot compact YITH comparison preview */
#yith-woocompare-preview-bar {
	position: fixed !important;
	left: 14px !important;
	right: auto !important;
	bottom: 14px !important;
	width: min(470px, calc(100vw - 28px)) !important;
	max-width: calc(100vw - 28px) !important;
	box-sizing: border-box !important;
	display: none;
	padding: 12px !important;
	margin: 0 !important;
	background: #fff !important;
	color: #041e42 !important;
	border: 1px solid #e2e5e9 !important;
	border-radius: 13px !important;
	box-shadow: 0 7px 28px rgba(0,0,0,.18) !important;
	z-index: 999999 !important;
}
#yith-woocompare-preview-bar.shown { display: block !important; }
#yith-woocompare-preview-bar .container,
#yith-woocompare-preview-bar .ispot-compare-preview-inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
#yith-woocompare-preview-bar header { display: none !important; }
#yith-woocompare-preview-bar .content { width: 100% !important; }
#yith-woocompare-preview-bar .compare-list {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto !important;
}
#yith-woocompare-preview-bar .compare-list li.ispot-compare-product {
	position: relative !important;
	display: flex !important;
	flex: 0 0 108px !important;
	flex-direction: column !important;
	align-items: center !important;
	width: 108px !important;
	min-width: 0 !important;
	padding: 5px 5px 6px !important;
	margin: 0 !important;
	background: #fff !important;
	border: 1px solid #e4e6e9 !important;
	border-radius: 9px !important;
	box-sizing: border-box !important;
}
#yith-woocompare-preview-bar .image-wrap {
	position: relative !important;
	width: 100% !important;
	height: 62px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 0 5px !important;
}
#yith-woocompare-preview-bar .image-wrap > a.ispot-compare-product-link {
	display: flex !important;
	width: 100% !important;
	height: 100% !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 0 !important;
}
#yith-woocompare-preview-bar .image-wrap img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 76px !important;
	max-height: 60px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}
#yith-woocompare-preview-bar .ispot-compare-product-name {
	display: -webkit-box !important;
	width: 100% !important;
	min-height: 30px !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	font-size: 10px !important;
	line-height: 1.3 !important;
	font-weight: 500 !important;
	text-align: center !important;
	color: #333 !important;
	overflow-wrap: anywhere !important;
}
#yith-woocompare-preview-bar .image-wrap .remove {
	position: absolute !important;
	top: -10px !important;
	right: -9px !important;
	z-index: 3 !important;
	margin: 0 !important;
}
#yith-woocompare-preview-bar .image-wrap .remove a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 19px !important;
	height: 19px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #941b3b !important;
	color: #fff !important;
	font-size: 0 !important;
	line-height: 19px !important;
	text-decoration: none !important;
	box-shadow: 0 1px 4px rgba(0,0,0,.2) !important;
}
#yith-woocompare-preview-bar .image-wrap .remove a:after {
	content: "×" !important;
	font-size: 17px !important;
	line-height: 19px !important;
	color: #fff !important;
}
#yith-woocompare-preview-bar .image-wrap .remove a span { display: none !important; }
#yith-woocompare-preview-bar .ispot-compare-preview-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
#yith-woocompare-preview-bar .ispot-compare-remove-all {
	color: #8b3450 !important;
	font-size: 12px !important;
	text-decoration: underline !important;
	white-space: nowrap !important;
}
#yith-woocompare-preview-bar .ispot-compare-open {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 8px 13px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #40536f !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}
#yith-woocompare-preview-bar .ispot-compare-open:hover { background: #041e42 !important; color: #fff !important; }
#yith-woocompare-preview-bar .ispot-compare-disabled {
	opacity: .45 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}
@media (max-width: 600px) {
	#yith-woocompare-preview-bar {
		left: 8px !important;
		bottom: 8px !important;
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		padding: 9px !important;
		border-radius: 10px !important;
	}
	#yith-woocompare-preview-bar .compare-list { gap: 6px !important; }
	#yith-woocompare-preview-bar .compare-list li.ispot-compare-product {
		flex-basis: calc((100% - 18px) / 4) !important;
		width: calc((100% - 18px) / 4) !important;
		padding: 4px 3px !important;
	}
	#yith-woocompare-preview-bar .image-wrap { height: 48px !important; }
	#yith-woocompare-preview-bar .image-wrap img { max-width: 55px !important; max-height: 46px !important; }
	#yith-woocompare-preview-bar .ispot-compare-product-name { font-size: 9px !important; min-height: 25px !important; }
	#yith-woocompare-preview-bar .ispot-compare-preview-actions { gap: 8px !important; }
	#yith-woocompare-preview-bar .ispot-compare-remove-all { font-size: 11px !important; }
	#yith-woocompare-preview-bar .ispot-compare-open { font-size: 10px !important; padding: 7px 9px !important; }
}

/* iSpot stock and compare row in the product cards */
.ispot-bs-stock-status {
	text-align: center;
	font-size: 13px;
	line-height: 1.4;
	color: #041e42;
	margin: 11px 0 7px;
	font-weight: 500;
}
.ispot-bs-stock-status.is-out-of-stock { color: #b42318; }
.ispot-bs-compare-row {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4px 0 10px;
}
.ispot-bs-compare-row a.compare {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 3px 5px !important;
	background: transparent !important;
	border: 0 !important;
	color: #555 !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
.ispot-bs-compare-row a.compare input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	accent-color: #1677d2;
	cursor: pointer;
}
.ispot-bs-compare-row a.compare .label { color: #555 !important; }
.ispot-bs-compare-row a.compare.added .label { color: #041e42 !important; font-weight: 600; }
.ispot-compare-limit-notice {
	display: none;
	width: 100%;
	box-sizing: border-box;
	padding: 7px 9px;
	border-radius: 6px;
	background: #fff4e5;
	color: #8a4b08;
	font-size: 11px;
	line-height: 1.35;
	text-align: center;
}
.ispot-compare-limit-notice.is-visible { display: block; }

/* v1.0.3: keep each YITH remove control above the product tile and visible. */
#yith-woocompare-preview-bar .compare-list,
#yith-woocompare-preview-bar .compare-list li.ispot-compare-product,
#yith-woocompare-preview-bar .image-wrap {
    overflow: visible !important;
}
#yith-woocompare-preview-bar .compare-list li.ispot-compare-product {
    z-index: 1 !important;
}
#yith-woocompare-preview-bar .image-wrap {
    position: relative !important;
    z-index: 5 !important;
}
#yith-woocompare-preview-bar .image-wrap > .remove {
    display: block !important;
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    width: 21px !important;
    height: 21px !important;
    z-index: 30 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#yith-woocompare-preview-bar .image-wrap > .remove > a {
    position: relative !important;
    display: flex !important;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    align-items: center !important;
    justify-content: center !important;
    background: #941b3b !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    z-index: 31 !important;
    font-size: 0 !important;
    line-height: 1 !important;
}
#yith-woocompare-preview-bar .image-wrap > .remove > a:after {
    content: "×" !important;
    display: block !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 17px !important;
}
#yith-woocompare-preview-bar .image-wrap > .remove > a span,
#yith-woocompare-preview-bar .image-wrap > .remove > a .remove {
    display: none !important;
}


/* =========================================================
   iSpot compact centered full comparison popup / table
   YITH Free 3.16.0 renders this as an in-page overlay.
   ========================================================= */
.yith-woocompare-popup-container {
    position: fixed !important;
    inset: 0 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    background: rgba(4, 18, 38, .62) !important;
    z-index: 999998 !important;
    overflow: hidden !important;
}
.yith-woocompare-popup-container[style*="display: block"],
.yith-woocompare-popup-container[style*="display:block"] {
    display: flex !important;
}
.yith-woocompare-popup-container .yith-woocompare-table-wrapper {
    position: relative !important;
    display: block !important;
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: 1120px !important;
    max-height: min(82vh, 820px) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 22px 20px 18px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e4e8ed !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.28) !important;
}
.yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper {
    position: relative !important;
    width: 100% !important;
    max-height: calc(min(82vh, 820px) - 40px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 26px 0 4px !important;
    box-sizing: border-box !important;
    overflow: auto !important;
    overscroll-behavior: contain;
}
.yith-woocompare-popup-container a.yith-woocompare-popup-close {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #f1f3f5 !important;
    color: #041e42 !important;
    font-size: 25px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    z-index: 20 !important;
}
.yith-woocompare-popup-container a.yith-woocompare-popup-close:hover {
    background: #041e42 !important;
    color: #fff !important;
}
.yith-woocompare-popup-container #yith-woocompare {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.yith-woocompare-popup-container #yith-woocompare-table_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
.yith-woocompare-popup-container .dataTables_scroll {
    width: 100% !important;
    max-width: 100% !important;
}
.yith-woocompare-popup-container .dataTables_scrollHead,
.yith-woocompare-popup-container .dataTables_scrollBody,
.yith-woocompare-popup-container .dataTables_scrollFoot {
    width: 100% !important;
    max-width: 100% !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #9aa8b8 #edf0f3 !important;
    border-bottom: 1px solid #dfe4e9 !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar {
    height: 10px !important;
    width: 9px !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #edf0f3 !important;
    border-radius: 8px !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #9aa8b8 !important;
    border: 2px solid #edf0f3 !important;
    border-radius: 8px !important;
}
.yith-woocompare-popup-container table.compare-list,
.yith-woocompare-popup-container table.dataTable.compare-list {
    width: auto !important;
    min-width: 100% !important;
    table-layout: fixed !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 12px !important;
}
.yith-woocompare-popup-container table.compare-list tbody th,
.yith-woocompare-popup-container table.dataTable.compare-list tbody th {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    padding: 9px 10px !important;
    background: #f5f7f9 !important;
    color: #041e42 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-align: left !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere !important;
}
.yith-woocompare-popup-container table.compare-list tbody td,
.yith-woocompare-popup-container table.dataTable.compare-list tbody td {
    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;
    padding: 9px 11px !important;
    color: #414b56 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere !important;
    border-top: 1px solid #e7ebef !important;
}
.yith-woocompare-popup-container table.compare-list tbody tr.product_info th,
.yith-woocompare-popup-container table.compare-list tbody tr.product_info td {
    vertical-align: top !important;
}
.yith-woocompare-popup-container table.compare-list .image-wrap {
    max-width: 130px !important;
    max-height: 115px !important;
    margin: 0 auto 8px !important;
    overflow: hidden !important;
}
.yith-woocompare-popup-container table.compare-list .image-wrap img {
    display: block !important;
    width: auto !important;
    max-width: 120px !important;
    max-height: 105px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}
.yith-woocompare-popup-container table.compare-list .product_title,
.yith-woocompare-popup-container table.compare-list h4.product_title {
    margin: 5px 0 8px !important;
    color: #041e42 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}
.yith-woocompare-popup-container table.compare-list .product_info td > * {
    margin-bottom: 9px !important;
}
.yith-woocompare-popup-container table.compare-list .price,
.yith-woocompare-popup-container table.compare-list tr.price {
    font-size: 13px !important;
    font-weight: 700 !important;
}
.yith-woocompare-popup-container table.compare-list .button,
.yith-woocompare-popup-container table.compare-list a.button {
    min-height: 30px !important;
    padding: 7px 10px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}
.yith-woocompare-popup-container table.compare-list .star-rating {
    font-size: 11px !important;
}
.yith-woocompare-popup-container table.compare-list tr.remove a {
    color: #8b3450 !important;
    font-size: 10px !important;
    text-decoration: underline !important;
}
.yith-woocompare-popup-container table.compare-list tr.remove a span {
    font-size: 14px !important;
}
.yith-woocompare-popup-container table.compare-list tbody tr:hover th,
.yith-woocompare-popup-container table.compare-list tbody tr:hover td {
    background-color: #fbfcfd !important;
}
.yith-woocompare-popup-container table.compare-list tbody tr.stock td.in-stock {
    background: #f2fcde !important;
    color: #16803c !important;
}
@media (max-width: 767px) {
    .yith-woocompare-popup-container {
        padding: 9px !important;
    }
    .yith-woocompare-popup-container .yith-woocompare-table-wrapper {
        width: calc(100vw - 18px) !important;
        max-width: calc(100vw - 18px) !important;
        max-height: 90vh !important;
        padding: 18px 10px 10px !important;
        border-radius: 9px !important;
    }
    .yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper {
        max-height: calc(90vh - 28px) !important;
        padding-top: 25px !important;
    }
    .yith-woocompare-popup-container table.compare-list tbody th,
    .yith-woocompare-popup-container table.dataTable.compare-list tbody th {
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        padding: 8px 7px !important;
        font-size: 10px !important;
    }
    .yith-woocompare-popup-container table.compare-list tbody td,
    .yith-woocompare-popup-container table.dataTable.compare-list tbody td {
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
        padding: 8px !important;
        font-size: 10px !important;
    }
    .yith-woocompare-popup-container table.compare-list .image-wrap img {
        max-width: 95px !important;
        max-height: 85px !important;
    }
}


/* v1.0.5: unlimited comparison preview - horizontal strip scrolls as needed */
#yith-woocompare-preview-bar .ispot-compare-preview-inner {
    gap: 9px !important;
}
#yith-woocompare-preview-bar .compare-list {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 9px 5px 10px !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #9aa8b8 #edf0f3 !important;
}
#yith-woocompare-preview-bar .compare-list::-webkit-scrollbar {
    height: 8px !important;
}
#yith-woocompare-preview-bar .compare-list::-webkit-scrollbar-track {
    background: #edf0f3 !important;
    border-radius: 8px !important;
}
#yith-woocompare-preview-bar .compare-list::-webkit-scrollbar-thumb {
    background: #9aa8b8 !important;
    border: 2px solid #edf0f3 !important;
    border-radius: 8px !important;
}
#yith-woocompare-preview-bar .compare-list li.ispot-compare-product {
    flex: 0 0 108px !important;
    width: 108px !important;
}

/* v1.0.5: wider, more legible comparison modal with two-axis scrolling */
.yith-woocompare-popup-container {
    padding: 18px !important;
}
.yith-woocompare-popup-container .yith-woocompare-table-wrapper {
    width: min(1480px, calc(100vw - 36px)) !important;
    max-width: 1480px !important;
    max-height: 88vh !important;
    padding: 24px 22px 20px !important;
}
.yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper {
    max-height: calc(88vh - 48px) !important;
    overflow: auto !important;
}
.yith-woocompare-popup-container .dataTables_scroll {
    width: 100% !important;
    max-width: 100% !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody {
    max-height: calc(88vh - 190px) !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-width: auto !important;
    scrollbar-color: #7f91a5 #edf0f3 !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar {
    width: 11px !important;
    height: 11px !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #edf0f3 !important;
    border-radius: 8px !important;
}
.yith-woocompare-popup-container .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #7f91a5 !important;
    border: 2px solid #edf0f3 !important;
    border-radius: 8px !important;
}
.yith-woocompare-popup-container table.compare-list,
.yith-woocompare-popup-container table.dataTable.compare-list {
    font-size: 14px !important;
}
.yith-woocompare-popup-container table.compare-list tbody th,
.yith-woocompare-popup-container table.dataTable.compare-list tbody th {
    width: 165px !important;
    min-width: 165px !important;
    max-width: 165px !important;
    padding: 12px 13px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}
.yith-woocompare-popup-container table.compare-list tbody td,
.yith-woocompare-popup-container table.dataTable.compare-list tbody td {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.yith-woocompare-popup-container table.compare-list .product_title,
.yith-woocompare-popup-container table.compare-list h4.product_title {
    font-size: 14px !important;
    line-height: 1.45 !important;
}
.yith-woocompare-popup-container table.compare-list .image-wrap {
    max-width: 150px !important;
    max-height: 135px !important;
}
.yith-woocompare-popup-container table.compare-list .image-wrap img {
    max-width: 140px !important;
    max-height: 125px !important;
}
.yith-woocompare-popup-container table.compare-list .button,
.yith-woocompare-popup-container table.compare-list a.button,
.yith-woocompare-popup-container table.compare-list .add_to_cart_button,
.yith-woocompare-popup-container table.compare-list .product_type_variable,
.yith-woocompare-popup-container table.compare-list .product_type_grouped,
.yith-woocompare-popup-container table.compare-list .product_type_external {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 112px !important;
    max-width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 10px 13px !important;
    margin: 5px auto !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.2 !important;
    font-size: 12px !important;
    float: none !important;
    text-align: center !important;
}
.yith-woocompare-popup-container table.compare-list .add_to_cart_wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}
.yith-woocompare-popup-container table.compare-list .added_to_cart {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: 12px !important;
}
.yith-woocompare-popup-container table.compare-list .price,
.yith-woocompare-popup-container table.compare-list tr.price {
    font-size: 15px !important;
}
.yith-woocompare-popup-container table.compare-list tr.stock td {
    font-size: 13px !important;
}
@media (max-width: 767px) {
    #yith-woocompare-preview-bar {
        width: calc(100vw - 16px) !important;
    }
    #yith-woocompare-preview-bar .compare-list {
        overflow-x: auto !important;
    }
    .yith-woocompare-popup-container {
        padding: 8px !important;
    }
    .yith-woocompare-popup-container .yith-woocompare-table-wrapper {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: 92vh !important;
        padding: 20px 9px 10px !important;
    }
    .yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper {
        max-height: calc(92vh - 30px) !important;
    }
    .yith-woocompare-popup-container .dataTables_scrollBody {
        max-height: calc(92vh - 160px) !important;
    }
    .yith-woocompare-popup-container table.compare-list tbody th,
    .yith-woocompare-popup-container table.dataTable.compare-list tbody th {
        width: 115px !important;
        min-width: 115px !important;
        max-width: 115px !important;
        font-size: 12px !important;
    }
    .yith-woocompare-popup-container table.compare-list tbody td,
    .yith-woocompare-popup-container table.dataTable.compare-list tbody td {
        width: 165px !important;
        min-width: 165px !important;
        max-width: 165px !important;
        font-size: 12px !important;
    }
}


/* v1.0.7: product-specific option selectors and add-to-cart controls in compare popup */
body.yith-woocompare-popup .product_info .add_to_cart_wrap,
body.yith-woocompare-popup tr.add-to-cart,
body.yith-woocompare-popup tr.add_to_cart {
    display: none !important;
}
body.yith-woocompare-popup .ispot-compare-cart-control {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 230px !important;
    margin: 12px auto 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e4e9ef !important;
    border-radius: 8px !important;
}
body.yith-woocompare-popup .ispot-variation-selectors {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    width: 100% !important;
}
body.yith-woocompare-popup .ispot-variation-label {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    width: 100% !important;
    color: #041e42 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
}
body.yith-woocompare-popup .ispot-variation-select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 5px 8px !important;
    border: 1px solid #cbd5df !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #24364b !important;
    font-size: 12px !important;
}
body.yith-woocompare-popup .ispot-variation-price {
    min-height: 18px !important;
    color: #041e42 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
body.yith-woocompare-popup .ispot-compare-add-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #041e42 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}
body.yith-woocompare-popup .ispot-compare-add-to-cart:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}
body.yith-woocompare-popup .ispot-compare-add-to-cart.loading {
    opacity: .7 !important;
}
body.yith-woocompare-popup .ispot-compare-cart-message {
    display: block !important;
    min-height: 16px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}
body.yith-woocompare-popup .ispot-compare-cart-message.success {
    color: #16803c !important;
}
body.yith-woocompare-popup .ispot-compare-cart-message.error,
body.yith-woocompare-popup .ispot-compare-unavailable {
    color: #b42318 !important;
}
body.yith-woocompare-popup .ispot-compare-unavailable {
    font-size: 12px !important;
    text-align: center !important;
}


/* The comparison table is rendered inside YITH's iframe document. */
body.yith-woocompare-popup {
    box-sizing: border-box !important;
    padding: 16px 12px 18px !important;
    overflow: auto !important;
}
body.yith-woocompare-popup #yith-woocompare {
    margin-top: 6px !important;
    padding-top: 4px !important;
}


/* v1.0.9: comparison iframe layout and typography repair */
body.yith-woocompare-popup {
    margin: 0 !important;
    padding: 22px 18px 28px !important;
    box-sizing: border-box !important;
    overflow: auto !important;
    background: #fff !important;
    color: #24364b !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
body.yith-woocompare-popup h1 {
    display: block !important;
    position: relative !important;
    margin: 0 0 18px !important;
    padding: 0 42px 12px 0 !important;
    color: #041e42 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e5eaf0 !important;
}
body.yith-woocompare-popup h1 .close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    color: #041e42 !important;
    font-size: 13px !important;
    text-decoration: none !important;
}
body.yith-woocompare-popup #yith-woocompare {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
}
body.yith-woocompare-popup .dataTables_wrapper {
    width: 100% !important;
    max-width: 100% !important;
}
body.yith-woocompare-popup .dataTables_scroll {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}
body.yith-woocompare-popup .dataTables_scrollHead,
body.yith-woocompare-popup .dataTables_scrollBody {
    width: 100% !important;
    box-sizing: border-box !important;
}
body.yith-woocompare-popup .dataTables_scrollBody {
    max-height: calc(100vh - 180px) !important;
    overflow: auto !important;
    scrollbar-width: auto !important;
    scrollbar-color: #8798aa #edf1f5 !important;
}
body.yith-woocompare-popup table.compare-list,
body.yith-woocompare-popup table.dataTable.compare-list {
    width: max-content !important;
    min-width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 14px !important;
    color: #24364b !important;
}
body.yith-woocompare-popup table.compare-list th,
body.yith-woocompare-popup table.compare-list td {
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    vertical-align: top !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #e6ebf0 !important;
}
body.yith-woocompare-popup table.compare-list tbody th {
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    min-width: 165px !important;
    width: 165px !important;
    background: #f5f7fa !important;
    color: #041e42 !important;
    font-weight: 700 !important;
}
body.yith-woocompare-popup table.compare-list tbody td {
    min-width: 215px !important;
    width: 215px !important;
    background: #fff !important;
}
body.yith-woocompare-popup table.compare-list .product_title,
body.yith-woocompare-popup table.compare-list h4.product_title {
    margin: 8px 0 !important;
    color: #041e42 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}
body.yith-woocompare-popup table.compare-list .image-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 125px !important;
    max-height: 145px !important;
    overflow: visible !important;
}
body.yith-woocompare-popup table.compare-list .image-wrap img {
    display: block !important;
    width: auto !important;
    max-width: 145px !important;
    max-height: 135px !important;
    object-fit: contain !important;
}
body.yith-woocompare-popup table.compare-list tr.price td,
body.yith-woocompare-popup table.compare-list tr.price td .price {
    color: #041e42 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
body.yith-woocompare-popup table.compare-list .ispot-compare-cart-control {
    width: 100% !important;
    max-width: 220px !important;
    margin: 12px auto 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    background: #f7f9fb !important;
    border: 1px solid #e2e8ef !important;
    border-radius: 7px !important;
}
body.yith-woocompare-popup table.compare-list .ispot-variation-select {
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    padding: 6px 9px !important;
    border: 1px solid #cbd5df !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #24364b !important;
    font-size: 13px !important;
}
body.yith-woocompare-popup table.compare-list .ispot-compare-add-to-cart {
    width: 100% !important;
    min-height: 40px !important;
    margin: 4px 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #041e42 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
body.yith-woocompare-popup table.compare-list .ispot-compare-cart-message {
    display: block !important;
    min-height: 16px !important;
    font-size: 12px !important;
    text-align: center !important;
}
body.yith-woocompare-popup table.compare-list .ispot-compare-cart-message.success { color: #16803c !important; }
body.yith-woocompare-popup table.compare-list .ispot-compare-cart-message.error { color: #b42318 !important; }
body.yith-woocompare-popup table.compare-list .remove a {
    color: #b42318 !important;
    font-size: 12px !important;
}
@media (max-width: 767px) {
    body.yith-woocompare-popup { padding: 14px 9px 20px !important; }
    body.yith-woocompare-popup h1 { font-size: 18px !important; }
    body.yith-woocompare-popup table.compare-list tbody th { min-width: 125px !important; width: 125px !important; }
    body.yith-woocompare-popup table.compare-list tbody td { min-width: 175px !important; width: 175px !important; }
}


/* v1.1.0: final comparison-table corrections */
body.yith-woocompare-popup table.compare-list tbody tr.price:last-of-type {
    display: none !important;
}
body.yith-woocompare-popup table.compare-list tr.image,
body.yith-woocompare-popup table.compare-list td.image,
body.yith-woocompare-popup table.compare-list .image-wrap {
    overflow: visible !important;
}
body.yith-woocompare-popup table.compare-list tr.image td,
body.yith-woocompare-popup table.compare-list td.image {
    padding-top: 22px !important;
    padding-bottom: 12px !important;
    vertical-align: top !important;
}
body.yith-woocompare-popup table.compare-list .image-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 150px !important;
    max-height: none !important;
    margin: 0 auto 8px !important;
    padding: 8px 4px 4px !important;
    box-sizing: border-box !important;
}
body.yith-woocompare-popup table.compare-list .image-wrap img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 145px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
}
body.yith-woocompare-popup table.compare-list .ispot-compare-cart-control {
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    margin: 12px auto 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}
body.yith-woocompare-popup table.compare-list button.ispot-compare-add-to-cart,
body.yith-woocompare-popup table.compare-list .ispot-compare-add-to-cart.button {
    display: block !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 4px 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #041e42 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
body.yith-woocompare-popup table.compare-list button.ispot-compare-add-to-cart:hover,
body.yith-woocompare-popup table.compare-list .ispot-compare-add-to-cart.button:hover {
    background: #84cc00 !important;
    color: #041e42 !important;
}
body.yith-woocompare-popup table.compare-list button.ispot-compare-add-to-cart:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}


/* YITH Compare iframe: hide only its explicitly repeated bottom Price row. */
body.yith-woocompare-popup table.compare-list tr.price.repeated {
    display: none !important;
}
