/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2025 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
#product_comparison.active {
    padding: 0;
    margin: 0;
    border: none;
}

#product_comparison,
#no_product_comparison {
    display: none;
}

#product_comparison.active,
#no_product_comparison.active {
    display: block;
}

#product_comparison .thumbnail-container img {
    width: 250px;
    max-width: 250px;
}

#product_comparison .tvcmscomparison .tvcmsproduct-compare-list {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#product_comparison .tvcmscomparison .tvcmsproduct-compare-list:focus {
    outline: none;
}

#product_comparison .tvcompare-hover-img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

#product_comparison .tvcmscomparison .thumbnail-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 15px;
}

#product_comparison .tvcmscomparison:hover .tvcompare-hover-img {
    opacity: 1;
}

.tvcmscomparison .product-desc {
    margin: 5px 0;
}

.tvcmscomparison {
    width: 25%;
}

.tvcompare_extra_information span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.tvcmscomparison .product-desc p {
    margin: 0;
}

/* === Prices in comparison table (patched) === */
#product_comparison .product-price-and-shipping {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
#product_comparison .product-price-and-shipping .price {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
#product_comparison .product-price-and-shipping .regular-price {
  text-decoration: line-through;
  color: #888;
  font-size: .98rem;
  line-height: 1;
}
#product_comparison .product-price-and-shipping .discount-percentage {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  background: #e53935;
  color: #fff;
  font-size: .85rem;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .tvcmscomparison { width: auto; }
}
