/*
@Theme Name: Tt woocommerce compare products
@Author: Md.Arif Rahman
@Developer URL: https://themeforest.net/user/droitthemes
@WordPress Developed By: Arif Rahman
@Default Styles
*/
:root {
  --primary-color: #0050b2;
  --secondary-color: #171d24;
  --body-color: #6a737c;
  --body-font-weight: 400;
  --font-weight-500: 500;
  --font-weight-600: 600;
  --font-weight-700: 700;
  --body-font-family: Roboto, sans-serif;
}

body {
  color: var(--body-color);
  font-size: 16px;
  font-weight: var(--body-font-weight);
  line-height: 1.6;
  
}

a {
  text-decoration: none;
}

.c-pointer {
  cursor: pointer;
}

a.disabled {
  cursor:not-allowed;
}
.product_compare_table {
  padding: 60px 32px;
}
.product_compare_table td {
  border: 1px solid #E9E9E9;
  text-align: left;
  padding: 12px 16px;
}
.product_compare_table td.compare-blurb {
  min-width: 250px;
}
.product_compare_table td h6 {
  margin-bottom: 0;
}
.product_compare_table .page-heading {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}
.product_compare_table .page-heading ~ p {
  color: #5F5F5F;
}
.td_compare_field {
  text-align: center;
}
.add_new_field {
  max-width: 270px;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}
.add_new_field .form-select {
  padding: 12px 24px;
  font-size: 14px;
  color: #5F5F5F;
  border-radius: 4px;
  outline: 0;
  border: 1px solid #E9E9E9;
}
.add_new_field .form-select:focus {
  box-shadow: none;
}
.add_new_field .products {
  position: relative;
}
.add_new_field .ajax_box .form-control:disabled {
  background-color: #e9ecef4a;
}
.add_new_field .ajax_box input {
  outline: 0;
  border-radius: 4px;
  padding: 12px 24px;
  border: 1px solid #E9E9E9;
  box-shadow: none !important;
  font-size: 14px;
}
.add_new_field .products .list-group {
  position: absolute;
  top: calc(100% + 4px);
  border-radius: 4px;
  left: 0; 
  width: 100%;
  max-height: 250px;
  overflow: hidden;
  overflow-y: auto;
}
.add_new_field .products .list-group li {
  text-align: left;
  font-size: 13px;
}
.product_compare_table .clear_btn {
  background-color: #F1F7FE; 
  padding: 12px 30px;
  border-radius: 3px;
  font-weight: 500;
  color: #FC0012;
  font-size: 15px;
}
.product_compare_table .added_to_cart,
.product_compare_table .add_to_cart_button {
  padding: 12px 30px;
  background-color: #FC0012;
  color: white;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
  display: inline-block;
}
.product_compare_table .added_to_cart:hover,
.product_compare_table .add_to_cart_button:hover {
  background-color: #111010;
}
.product_compare_table .add_to_cart_button.added{
  display: none;
}
.product_compare_table .selected_product_item {
  max-width: 250px;
  text-align: center;
  display: inline-block;
}
.product_compare_table .selected_product_item .p-item-img {
  margin-bottom: 20px;
}
.product_compare_table .selected_product_item .remove {
  background-color: #ffffff;
  color: #FC0012;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0px 3px 10px rgba(0, 56, 60, 0.08);
  margin-bottom: 16px;
}
.product_compare_table .selected_product_item .p-item-name {
  transition: 0.3s;
}
.product_compare_table .selected_product_item .p-item-price {
  margin-top: 16px;
  font-weight: 500; 
  color: #FC0012;
}

.product-compare .cmpr-table tr td.mx-250 {
  min-width: 320px !important;
  max-width: 320px !important;
}

.apt_header_cart a.cart_btn {
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  background: #F6F6F6;
  color: #C2C2C2;
  -webkit-transition: 0.3s ease-in;
  transition: 0.3s ease-in;
  border-radius: 3px;
  line-height: 40px;
  position: relative;
}

.apt_header_cart sup.compare-counter-data {
  position: absolute;
  background: #FC0012;
  width: 15px;
  height: 15px;
  text-align: center;
  line-height: 15px;
  border-radius: 50%;
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}
body .tt-compare-alert {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
}
body.admin-bar .tt-compare-alert{
  top: 32px;
}