/**
 * The style of the woocommerce compare products
 */

/* ###############
 * Reboot Theme
##############*/
.price_mono {
  font-size: 14px;
  font-family: var(--main-font);
  color: rgb(255, 255, 255);
  font-weight: 500;
  background: #f28149;
  border-radius: 4px;
  text-align: center;
  padding: 3px 8px;
  max-width: 56px;
  margin: 0;
}

.price_mono_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
tr.price {
  display: table-row;
  margin: 0;
}
.close-icon {
  display: inline-block;
  vertical-align: -2px;
  width: 12px;
  height: 12px;
}
.close-icon:before,
.close-icon:after {
  transition: background-color 0.3s;
}
a:hover > .close-icon:before,
a:hover > .close-icon:after {
  background: #222;
}

/* ###############
FIXED COLUMNS
##############*/

table.DTFC_Cloned thead,
table.DTFC_Cloned tfoot {
  background-color: white;
}
div.DTFC_Blocker {
  background-color: white;
}
div.DTFC_LeftWrapper table.dataTable,
div.DTFC_RightWrapper table.dataTable {
  margin-bottom: 0;
  z-index: 2;
}
div.DTFC_LeftWrapper table.dataTable.no-footer,
div.DTFC_RightWrapper table.dataTable.no-footer {
  border-bottom: none;
}

/*############################
 * COMPARE
#############################*/

body {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.51em;
  color: #2a3a59;
  background: none !important;
  margin: 0;
}

body h1 {
  padding: 0;
  margin: 20px 0 -10px;
  color: #2a3a59;
  border-bottom: 2px solid #fff;
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

table.dataTable tbody tr.title td {
  color: #2a3a59;
  font-weight: 700;
}
table.compare-list tbody th {
  background-color: #f7f4ef !important;
  color: #2a3a59 !important;
}
table.dataTable.compare-list tbody th,
table.dataTable.compare-list tbody td {
  border-right: 1px solid #e7e7e7 !important;
  border-top: 1px solid #e7e7e7 !important;
}

table.dataTable tbody tr.price,
table.dataTable tbody tr.price ins {
  font-family: 'Manrope', sans-serif;
  color: #32384a !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
}
table.dataTable tbody tr.price.repeated {
  display: none !important;
}

body #yith-woocompare {
  padding: 0 10px 10px;
}

table.dataTable.compare-list thead th,
table.dataTable.compare-list thead td,
table.dataTable.compare-list tfoot td,
table.dataTable.compare-list tfoot th {
  border: 0;
  vertical-align: middle;
}
.DTFC_LeftFootWrapper table.compare-list,
.DTFC_LeftHeadWrapper table.compare-list {
  border: 0;
}

table.compare-list td {
  vertical-align: middle;
  text-align: center;
}

table.compare-list {
  width: 100%;
  border-bottom: 0;
  border-top: 0;
  margin: 0;
  table-layout: auto;
}

table.compare-list tbody th {
  color: #333;
  background-color: #f4f4f4;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

table.dataTable.compare-list .title th,
table.dataTable.compare-list .add-to-cart:not(.repeated) th,
table.dataTable.compare-list .price:not(.repeated) th {
  color: #fff;
  font-size: 0;
  border-top: none;
  padding: 5px 10px;
}
table.dataTable.compare-list .title td,
table.dataTable.compare-list .add-to-cart:not(.repeated) td,
table.dataTable.compare-list .price:not(.repeated) td {
  border-top: none;
  padding: 5px 10px;
}
table.dataTable.compare-list .add-to-cart:not(.repeated) td {
  padding-bottom: 10px;
}

.rtl table.compare-list tbody th {
  text-align: right;
}

table.dataTable.compare-list tbody th,
table.dataTable.compare-list tbody td {
  border-right: 1px solid #e1e1e1;
  border-top: 1px solid #e1e1e1;
  border-bottom: none;
  border-left: none;
  padding: 10px 15px;
  vertical-align: middle;
}
table.dataTable.compare-list tbody tr:last-child th,
table.dataTable.compare-list tbody tr:last-child td {
  border-bottom: 1px solid #e1e1e1;
}
table.dataTable.compare-list tbody th {
  border-left: 1px solid #e1e1e1;
}

table.compare-list tbody td.last-column {
  width: auto;
  border-right: 0;
}

table.compare-list tr.image td,
table.compare-list tr.image th {
  border-top: 0;
}

#yith-woocompare-table_wrapper {
  margin: 10px 0;
}

table.dataTable.compare-list tbody .product_info td {
  vertical-align: top;
}

table.compare-list thead th a.close,
h1 a.close {
  float: right;
  margin-right: 10px;
  font-weight: 600;
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
  display: none !important;
}

table.compare-list .remove td,
table.compare-list .image td {
  text-align: center;
}
table.compare-list .remove td a {
  color: #747373;
  text-decoration: none;
}

table.compare-list .remove td a:hover {
  color: #333333;
}

table.compare-list .remove td a .remove {
  border-radius: 100% 100% 100% 100%;
  color: red;
  display: inline-block;
  font-size: 1em;
  font-weight: 600;
  height: 1em;
  line-height: 0.81em;
  text-align: center;
  text-decoration: none;
  width: 1em;
}

.yith-woocompare-widget ul.products-list a.remove {
  float: left;
}

table.compare-list .remove td a:hover .remove {
  background-color: red;
  color: #fff;
}

table.compare-list .stock td span {
  color: #090;
}

table.compare-list .stock td span.out-of-stock {
  color: #900;
}
table.compare-list .add-to-cart a {
  padding: 0.6em 1.2em;
  display: none !important;
}
table.compare-list img {
  height: auto;
  max-width: 100%;
}

table .add-links .yith-wcwl-add-to-wishlist,
table .add-links .quickview,
table .add-links .yith-compare {
  display: none;
}

table .add_to_cart_button {
  color: #08c;
  text-decoration: none;
}
table .add_to_cart_button:hover {
  text-decoration: underline;
}

table.dataTable.compare-list tbody th::before,
table.dataTable.compare-list tbody td::before {
  content: '';
  display: block;
  width: 300px !important;
}

body.removeSales table.compare-list .price_diff {
  display: none !important;
}
table.compare-list td del {
  font-family: 'Manrope', sans-serif;
  color: #32384a !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}

@media only screen and (max-width: 768px) {
  .DTFC_LeftWrapper {
    display: none !important;
  }
  table.dataTable.compare-list tbody th::before,
  table.dataTable.compare-list tbody td::before {
    width: 250px !important;
  }
}
