/* Comparison system styles */
.compare-count {
    display: inline-block;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #c96;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 5px;
    transition: all 0.3s;
}

.count-updated {
    transform: scale(1.2);
}

.btn-compare.added {
    background-color: #c96;
    color: white;
}

.compare-table .first-column {
    min-width: 200px;
    font-weight: bold;
}

.empty-compare {
    padding: 40px 0;
    border: 1px dashed #ddd;
    border-radius: 5px;
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 9999;
    animation: fadeIn 0.3s;
}

.toast-notification.success {
    background-color: #28a745;
}

.toast-notification.error {
    background-color: #dc3545;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Rating Row */

/* Base style for all stars */
i.icon-star,
i.icon-star-o {
  font-style: normal;      /* remove italic */
  font-size: 20px;         /* size of star */
  color: gold;             /* star color */
  margin: 0 2px;           /* spacing */
}

/* Filled star */
i.icon-star::before {
  content: "★"; /* Unicode black star */
}

/* Empty star */
i.icon-star-o::before {
  content: "☆"; /* Unicode white star */
}



/* استایل تصاویر در صفحه مقایسه محصولات */
.compare-table .product-image-title img {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 30px; /* (اختیاری) کمی گوشه گرد برای زیبایی */
}