/**
* 2007-2023 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-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.samecanonical-selector {
  margin-top: 12px;
  margin-bottom: 10px;
}

.samecanonical-selector > h3 {
  color: #000;
  font-size: 14px;
}

.samecanonical-selector.is-manual .product-images > li.thumb-container {
  display: inline;
}

.samecanonical-selector.is-manual .img-fluid.principal,
.samecanonical-selector.is-manual .img-fluid.noprincipal {
  max-width: 32%;
  margin-bottom: 4px;
  border-radius: 4px;
}

.samecanonical-selector.is-manual .img-fluid.principal {
  border: 1px solid blue;
}

.samecanonical-selector.is-manual .img-fluid.noprincipal {
  border: 1px solid #e2e2e2;
}

.samecanonical-selector.is-manual .img-fluid.noprincipal:hover {
  border-color: #8f8f8f;
}

.samegroupproducts.hook .samecanonical-selector.is-manual .product-images > li.thumb-container {
  filter: contrast(.92);
}

.samegroupproducts.hook .samecanonical-selector.is-manual .img-fluid.principal,
.samegroupproducts.hook .samecanonical-selector.is-manual .img-fluid.noprincipal {
  max-width: 16%;
  border: 0;
}

.samegroupproducts.hook .samecanonical-selector.is-manual .img-fluid.principal {
  outline: 1px solid blue;
}

.samegroupproducts.hook .samecanonical-selector.is-manual .img-fluid.noprincipal:hover {
  outline: 1px solid #8f8f8f;
}

.product-buy-box .samecanonical-selector.is-manual {
  text-align: center;
}

.samecanonical-selector.has-feature-labels.js-qv-mask {
  width: 100%;
  max-height: none;
  overflow: visible;
}

.samecanonical-selector.has-feature-labels .samecanonical-option-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  align-items: start;
  gap: .65rem;
  width: 100%;
  margin: 0;
  padding: 0;
  white-space: normal;
  list-style: none;
}

.samecanonical-selector.has-feature-labels .samecanonical-option {
  display: block;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.samecanonical-selector.has-feature-labels .samecanonical-option .samecanonical-option-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: .2rem .25rem .35rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  background: #f7f7f7;
  text-align: center;
  text-decoration: none;
}

.samecanonical-selector.has-feature-labels .samecanonical-option .samecanonical-option-link:hover {
  border-color: #aaa;
}

.samecanonical-selector.has-feature-labels .samecanonical-option.is-current .samecanonical-option-link {
  border-color: #333;
  background: #fff;
}

.samecanonical-selector.has-feature-labels .samecanonical-option .samecanonical-option-link img.img-fluid {
  flex: 0 0 4.4375rem;
  width: 4.4375rem;
  max-width: 4.4375rem;
  height: 4.4375rem;
  border: 0;
  outline: 0;
  object-fit: contain;
}

.samegroupproducts.hook .samecanonical-selector.has-feature-labels .samecanonical-option .samecanonical-option-link img.img-fluid {
  border: 0;
  outline: 0;
}

.samecanonical-selector.has-feature-labels .samecanonical-option-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 2.25rem;
  margin-top: .25rem;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.samecanonical-selector.has-feature-labels .samecanonical-option-prefix {
  display: block;
  color: #777;
  font-size: .6875rem;
  font-weight: 400;
}

.samecanonical-selector.has-feature-labels .samecanonical-option-value {
  display: block;
  color: #333;
  font-size: .75rem;
  font-weight: 600;
}

.samecanonical-selector.has-feature-labels .samecanonical-option.is-current .samecanonical-option-value {
  font-weight: 700;
}
