/**
* 2007-2024 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-2024 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;
	border-radius: 12px;
}
@media (max-width: 768px) { 
#product_comparison .thumbnail-container img {
    width: 150px;
    max-width: 150px;
	border-radius: 12px;
}
}

#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;
}

#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;
}
#product_comparison td.tvcmscomparison {
    width: 23%;
}

#nav_compare {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.32) 0px -2px 4px;
  z-index: 90;
  padding: 5px 0;
}
#nav_compare.hidden {
  display: none;
}
#nav_compare .nav_compare {
  display: flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: end;
  justify-content: flex-end;
  height: 56px;
  width: 100%;
  max-width: 1440px;
  margin: 0px auto;
  padding: 8px 0;
}

#nav_compare .nav_compare .list-item {
  position: relative;
  width: 100%;
  overflow: visible;
  left: 0px;
  right: 0px;
  top: 0px;
  direction: rtl;
  display: flex;
  animation: 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s 1 normal none running epWVGT;
}
#nav_compare .nav_compare .list-item .item {
  position: relative;
  max-width: 46px;
  margin-right: 8px;
  border-radius: 8px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(221, 221, 221);
  cursor: pointer;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
#nav_compare .nav_compare .list-item img {
  max-width: 100%;
  max-height: 100%;
  padding: 2px;
}
#nav_compare .nav_compare .list-item .item button {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s, visibility 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
  width: 15px;
  height: 15px;
  color: #fff;
  background: rgb(77, 77, 77);
  border: medium none;
  border-radius: 50%;
  position: absolute;
  right: -6px;
  top: -6px;
  cursor: pointer;
}

#nav_compare .nav_compare .list-item .item button span {
  height: 15px;
  width: 15px;
  font-size: 13px;
  position: absolute;
  right: 0px;
  top: -1px;
}
#nav_compare .nav_compare .list-item .item:hover {
  border-color: rgb(77, 77, 77);
}
#nav_compare .nav_compare .list-item .item:hover button {
  opacity: 1;
  visibility: visible;
}
#nav_compare .nav_compare a.compare {
  margin: 0px 8px 0px 16px;
  font-size: 13px;
  color: rgb(71, 68, 68);
  background-color: #fd8228;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  min-height: 40px;
  white-space: nowrap;
}
#nav_compare .nav_compare .more button.button {
  background: rgb(245, 245, 245);
  color: rgb(26, 26, 26);
  height: 40px;
  width: 40px;
  border: 0px none;
  padding: 0px;
  display: flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  justify-content: center;
  border-radius: 15%;
}
#nav_compare .nav_compare .more button.button:hover {
  background: rgb(221, 221, 221);
}
#nav_compare .nav_compare .more {
  position: relative;
}
#nav_compare .nav_compare .more .more-option {
  position: absolute;
  display: none;
  right: 0;
  width: auto;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 4px 8px 0px, rgba(0, 0, 0, 0.08) 0px 0px 2px 1px;
  cursor: auto;
  padding: 8px 16px 8px 0;
  bottom: calc(100% + 0px);
}
#nav_compare .nav_compare .more .more-option.active {
  display: block;
}
#nav_compare .nav_compare .more .more-option button {
  padding: 0px 16px 0px 0px;
  margin-left: 16px;
  display: inline-flex;
  -moz-box-align: center;
  align-items: center;
  background-color: transparent;
  border: medium none;
  line-height: 20px;
  cursor: pointer;
}
#nav_compare .nav_compare .more .more-option button:hover{
  background: none;
}
#nav_compare .nav_compare .more .more-option button span.material-icons{
  margin-right: 8px;
  width: 24px;
  height: 24px;
}
#nav_compare .nav_compare .more .more-option button span.content{
  display: flex;
  flex-direction: column;
}
#nav_compare .nav_compare .more .more-option button .content span {
  text-align: left;
}
#nav_compare .nav_compare .more .more-option button span .desc {
  font-size: 13px;
  line-height: 16px;
  color: rgb(112, 112, 112);
  font-weight: normal;
  text-decoration: none;
  padding-bottom: 10px;
  text-align: left;
}
@media (min-width: 520px) {
  #nav_compare .nav_compare .more .more-option button span .title,#nav_compare .nav_compare .more .more-option button span .desc {
    white-space: nowrap;
  }
}
#product_comparison tr.highlight-diff td:not(:first-child) {
    background-color: #ffecec;
}
.td-inner {
  position: relative;
  padding-bottom: 30px; /* reserve space for checkbox */
  min-height: 250px;     /* optional: ensures cell is tall enough */
}

.diff-toggle {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
}

