/* Panel Compare Layout */
.panel-compare-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--secondary);
  border: 1px solid var(--grey220);
  border-radius: 8px;
  padding: 20px;
}

/* Top */
.panel-compare-layout .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-compare-layout .top p:nth-child(1) {
  font-weight: bold;
  color: var(--primary);
}

.panel-compare-layout .top button {
  font-size: 14px;
  padding: 6px 15px;
  border: 1px solid var(--grey220);
  background-color: var(--white);
  color: #ff2056;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.panel-compare-layout .top button:hover {
  background-color: #ff2056;
  color: var(--white);
}

/* Bottom */
.panel-compare-layout .bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--white);
}

@media (max-width: 1100px) {
  .panel-compare-layout .bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 687px) {
  .panel-compare-layout .bottom {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Product Item */
.panel-compare-layout .bottom .product-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--grey220);
  align-items: center;
  font-size: 14px;
}

.panel-compare-layout .bottom .product-item img {
  border-radius: 50%;
  width: 120px;
}

.panel-compare-layout .bottom .product-item hr {
  border: 1px solid var(--grey220);
  width: 100%;
}

.panel-compare-layout .bottom .product-item .product-title {
  text-align: justify;
  text-align-last: center;
  color: var(--primary);
}

.panel-compare-layout .bottom .product-item .latin-title {
  text-align: justify;
  text-align-last: center;
  color: var(--grey100);
  font-size: 12px;
}

.panel-compare-layout .bottom .product-item .btn-price {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.panel-compare-layout .bottom .product-item .btn-price p:nth-child(1) {
  font-size: 12px;
  text-decoration: line-through;
}

.panel-compare-layout .bottom .product-item .btn-price p:nth-child(2) {
  color: var(--primary);
}
