.dbc_column_alignment_left .dbc_compare_value,
.dbc_column_alignment_left .compare_thumbnail,
.dbc_column_alignment_left .compare_title,
.dbc_column_alignment_left .table_button_atc {
	text-align: left !important;
}

.dbc_column_alignment_center .dbc_compare_value,
.dbc_column_alignment_center .compare_thumbnail,
.dbc_column_alignment_center .compare_title,
.dbc_column_alignment_center .table_button_atc {
	text-align: center !important;
}

.dbc_column_alignment_right .dbc_compare_value,
.dbc_column_alignment_right .compare_thumbnail,
.dbc_column_alignment_right .compare_title,
.dbc_column_alignment_right .table_button_atc {
	text-align: right !important;
}

.woocommerce .dbc_column_alignment_left .star-rating {
	float: left;
}

.woocommerce .dbc_column_alignment_center .star-rating {
	float: none;
	margin: auto;
}

.woocommerce .dbc_column_alignment_right .star-rating {
	float: right;
}

/* Design → Text alignment (higher specificity than column alignment defaults). */
.et_pb_db_shop_comparetable.et_pb_text_align_left .dbc_compare_label,
.et_pb_db_shop_comparetable.et_pb_text_align_left .dbc_compare_value,
.et_pb_db_shop_comparetable.et_pb_text_align_left .compare_thumbnail,
.et_pb_db_shop_comparetable.et_pb_text_align_left .compare_title,
.et_pb_db_shop_comparetable.et_pb_text_align_left .table_button_atc,
.et_pb_db_shop_comparetable.et_pb_text_align_left .table_row .td_row {
	text-align: left !important;
}

.et_pb_db_shop_comparetable.et_pb_text_align_center .dbc_compare_label,
.et_pb_db_shop_comparetable.et_pb_text_align_center .dbc_compare_value,
.et_pb_db_shop_comparetable.et_pb_text_align_center .compare_thumbnail,
.et_pb_db_shop_comparetable.et_pb_text_align_center .compare_title,
.et_pb_db_shop_comparetable.et_pb_text_align_center .table_button_atc,
.et_pb_db_shop_comparetable.et_pb_text_align_center .table_row .td_row {
	text-align: center !important;
}

.et_pb_db_shop_comparetable.et_pb_text_align_right .dbc_compare_label,
.et_pb_db_shop_comparetable.et_pb_text_align_right .dbc_compare_value,
.et_pb_db_shop_comparetable.et_pb_text_align_right .compare_thumbnail,
.et_pb_db_shop_comparetable.et_pb_text_align_right .compare_title,
.et_pb_db_shop_comparetable.et_pb_text_align_right .table_button_atc,
.et_pb_db_shop_comparetable.et_pb_text_align_right .table_row .td_row {
	text-align: right !important;
}

.et_pb_db_shop_comparetable.et_pb_text_align_justified .dbc_compare_label,
.et_pb_db_shop_comparetable.et_pb_text_align_justified .dbc_compare_value,
.et_pb_db_shop_comparetable.et_pb_text_align_justified .compare_thumbnail,
.et_pb_db_shop_comparetable.et_pb_text_align_justified .compare_title,
.et_pb_db_shop_comparetable.et_pb_text_align_justified .table_button_atc,
.et_pb_db_shop_comparetable.et_pb_text_align_justified .table_row .td_row {
	text-align: justify !important;
}

.woocommerce .et_pb_db_shop_comparetable.et_pb_text_align_left .star-rating {
	float: left;
}

.woocommerce .et_pb_db_shop_comparetable.et_pb_text_align_center .star-rating {
	float: none;
	margin: auto;
}

.woocommerce .et_pb_db_shop_comparetable.et_pb_text_align_right .star-rating {
	float: right;
}

@media (max-width: 980px) {
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_tablet .table_row .td_row {
		text-align: left !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_tablet .table_row .td_row {
		text-align: center !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_tablet .table_row .td_row {
		text-align: right !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_tablet .table_row .td_row {
		text-align: justify !important;
	}
}

@media (max-width: 767px) {
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_left_phone .table_row .td_row {
		text-align: left !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_center_phone .table_row .td_row {
		text-align: center !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_right_phone .table_row .td_row {
		text-align: right !important;
	}

	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .dbc_compare_label,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .dbc_compare_value,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .compare_thumbnail,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .compare_title,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .table_button_atc,
	.et_pb_db_shop_comparetable.et_pb_text_align_justified_phone .table_row .td_row {
		text-align: justify !important;
	}
}

.hide_empty_row .empty_compare_item {
	display: none !important;
}

.hide_empty_row .empty_compare_item.compare_item_not_empty,
.et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item,
.et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item {
	display: table-row-group !important;
}

.align-module_center .et_pb_module_inner {
	display: flex;
	justify-content: center;
}

.align-module_right .et_pb_module_inner {
	display: flex;
	justify-content: end;
}

/*
 * The table/row/cell display values carry !important because the module also renders
 * inside layouts where Divi's generated module CSS is missing (My Account endpoints,
 * cached static CSS), leaving these rules to compete with theme and builder CSS that
 * has a longer selector chain (including `.et-db #et-boc .et-l` + default flex layout).
 * Losing one of them collapses the whole table.
 */
.et-db #et-boc .et-l .et_pb_db_shop_comparetable .table_row,
.et_pb_db_shop_comparetable .table_row {
	display: table !important;
	width: 100%;
	table-layout: fixed;
}

.et-db #et-boc .et-l .et_pb_db_shop_comparetable .tr_row,
.et_pb_db_shop_comparetable .tr_row {
	display: table-row !important;
}

.et-db #et-boc .et-l .et_pb_db_shop_comparetable .td_row,
.et_pb_db_shop_comparetable .td_row {
	display: table-cell !important;
	border-style: solid;
	border-width: 0;
	vertical-align: top;
}

.et-db #et-boc .et-l .et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item,
.et-db #et-boc .et-l .et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item,
.et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item,
.et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item {
	display: table-row-group !important;
}

.et-db #et-boc .et-l .et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item > div,
.et-db #et-boc .et-l .et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item > div,
.et-db #et-boc .et-l .et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item .et_pb_module_inner,
.et-db #et-boc .et-l .et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item .et_pb_module_inner,
.et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item > div,
.et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item > div,
.et_pb_db_shop_comparetable .et_pb_db_shop_comparetable_item .et_pb_module_inner,
.et_pb_db_shop_comparetable .de_bodycommerce_compare_table_item .et_pb_module_inner {
	display: table-row !important;
}

.et_pb_db_shop_comparetable_item .star-rating {
	float: left;
}

.et_pb_db_shop_comparetable_item .dbc_compare_icon {
	position: relative;
}

.et_pb_db_shop_comparetable .table_row > .et_pb_db_shop_comparetable_item,
.et_pb_db_shop_comparetable .table_row > .de_bodycommerce_compare_table_item {
	background-color: #ffffff;
}

.et_pb_db_shop_comparetable .table_row > .et_pb_db_shop_comparetable_item:nth-child(2n),
.et_pb_db_shop_comparetable .table_row > .de_bodycommerce_compare_table_item:nth-child(2n) {
	background-color: #efefef;
}
