/**
 * Copyright (c) 2023 Smart Unicorn SARL
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the European Union Public License version 1.2
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/license/eupl-1-2/
 * 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 contact@smartunicorn.fr so we can send you a copy immediately.
 *
 * The module or template you have purchased can only be used on one website.
 * You have to make a new purchase for every use on a different PrestaShop website.
 *
 * @author    Smart Unicorn SARL <contact@smartunicorn.fr>
 * @copyright Copyright (c) 2023 Smart Unicorn SARL (https://www.smartunicorn.fr/). All rights reserved.
 * @license   https://opensource.org/license/eupl-1-2/ European Union Public License version 1.2 (EUPL-1.2)
 */
.pfi-product-features-images-block {
  /*Variables*/
  --pfi-grid-column-count: 4;
  --pfi-grid-mobile-column-count: 2;
  --pfi-text-color: #7a7a7a;
  --pfi-tooltip-text-color: #fff;
  --pfi-tooltip-background-color: black;
}

.pfi-product-features-images {
  display: flex;
  margin: 1rem 0;
  flex-wrap: wrap;
  margin-left: 120px;
  gap: 12px;
}

/* .pfi-product-feature {
  width: calc(100% / var(--pfi-grid-column-count));
  padding: 5px 10px;
  text-align: left;
} */

@media (max-width: 500px) {
  .pfi-product-feature {
    width: calc(100% / var(--pfi-grid-mobile-column-count));
  }
}

.pfi-product-feature-label {
  display: flex;
  flex-direction: column;
}

.pfi-product-feature-name-label,
.pfi-product-feature-value-label {
  color: var(--pfi-text-color);
  margin-top: 4px;
}

.pfi-product-feature-value-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
}

.pfi-tooltip {
  position: relative;
  display: inline-block;
}

.pfi-tooltip .pfi-tooltip-text-top {
  visibility: hidden;
  background-color: var(--pfi-tooltip-background-color);
  box-shadow: 0px 4px 10px 0px #00000026;
  color: var(--pfi-tooltip-text-color);
  text-align: left;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 90%;
  opacity: 0;
  transition: opacity 0.3s;
  width: 360;
  height: 102;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 16px;

}

/* .pfi-tooltip .pfi-tooltip-text-top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--pfi-tooltip-background-color) transparent transparent transparent;
} */

.pfi-tooltip:hover .pfi-tooltip-text-top {
  visibility: visible;
  opacity: 1;
}
.feature_image_info {
  width: max-content;
  position: absolute;
  top: -10px;
  right: -6px;
}