/* Compare Plugin CSS */
.compare-container {
  max-width: 1440px;
  margin: auto;
  padding: 20px;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}
.compare-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: 'Work Sans', sans-serif;
}


.compare-card .image-wrapper {
  width: 100%;
  height: 550px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  
}

.compare-card img {
    border-radius: 5px;
	height: 350px;
    object-fit: cover;
}

.compare-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* Custom label */
.label-hot {
	background-color: #9289FE;
    color: #fff;
	font-family: 'Work Sans';
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
}

.label-sale {
    background-color: #FECE00;
    color: #fff;
	font-family: 'Work Sans';
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
}

.compare-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  color: #fff;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  text-align: center;
  padding: 0px;
}

.product-info, .tech-block, .overview {
  padding: 12px 0px;
}

.product-info h3 {
  font-size: 25px;
  margin: 0 0 6px;
  font-weight: 500;
  color: #271466;
}

.product-info span {
   color: #271466;
   font-weight: 400;
   font-size: 20px;
}

.product-info p {
   color: #afafaf;
   font-weight: 300;
   font-size: 18px;
   margin: 5px 0px;
}

.tech-block h4, .overview h4 {
  margin-top: 10px;
  font-size: 16px;
  color: #000000;
  font-weight: 400;
}

.tech-block p, .overview p {
  font-size: 13px;
  margin: 4px 0;
  color: #555;
}

.compare-bar-block {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.bar-segment {
  flex: 1;
  height: 10px;
  background: #ddd;
  border-radius: 3px;
}

.bar-segment.filled {
  background: #572DE4;
}

.tag {
  margin: 3px 4px;
  display: inline-block;
}

.compare-buy {
  background: #271466;
  color: #fff !important;
  padding: 15px 25px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-size: 16px;
  transition: background 0.3s;
  max-width: fit-content;
  transition: background-color 0.3s ease;
}

.compare-buy:hover {
   background-color: #fff;
    border: 1px solid #271466 !important;
    color: #271466 !important;
}

.compare-warning {
  margin-top: 20px;
  color: red;
  text-align: center;
  font-size: 14px;
}

p.tech-custom {
	font-size: 14px;
	font-weight: 400;
    display: flex;
    align-items: center;
}

p.tech-custom span {
	padding: 5px;
}

.tech-block {
    padding: 15px;
    background-color: #F4F3F9;
	border-radius: 5px;
}

.label-person-1 {
	background-color: #FEF7DB;
    color: #271466;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 5px;
}

.label-person-2 {
	background-color: #CEFFC4;
    color: #271466;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 5px;
}

.label-person-3 {
	background-color: #FFDDC7;
    color: #271466;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 5px;
}

h4.tong-quan {
    margin-top: 25px;
}

.tong-quan-overview {
    background-color: #fcfbfd;
    padding: 20px;
    border-radius: 5px;
}

.tong-quan-overview h4 {
	margin-top: 20px;
	color: #271466;	
}

.tong-quan-overview p {
	color: #383838;
	font-size: 17px;
	font-weight: 500;
}
