/**
* 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
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.color-selector {
    display: none;
}

.family-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.family-item {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0;
}

.family-item.selected::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.color-shades .shades-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

}

.color-shades{
    margin-top: 20px;
}
.shade-item {
    width: 100px;
    display: flex;
    align-items: center;
    background-color: #ccc;
    border-radius: 8px;
    position: relative;
    flex: 0 0 calc(20% - 20px);
    cursor: pointer;
    margin: 5px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    flex-direction: column-reverse;
    justify-content: space-around;
    padding: 5px 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.shade-item .checkmark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002b52;
    font-size: 10px;
    visibility: hidden;
}

.shade-item.base-blanc {
    color: black;
    border-color: #e6e6e6;
}

.shade-item.selected {
    border: 2px solid #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.shade-item.selected .checkmark {
    visibility: visible;
}


.progress-bar-container {
    display: flex;
    align-items: flex-start;
  }


  .progress-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-right: 20px;
  }

  .step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 50%;

  }

  .line {
    width: 2px;
    height: 40px;
    background-color: #ddd;
  }

  .step.active {
    background-color: #002b52;
  }


  .sections-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .section {
    margin-bottom: 40px;
  }


  h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }


  .family-item {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: 2px solid transparent;
  }

  .family-item.selected {
    border: 2px solid #002b52;
  }


  .color-shades {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .step.active::after {
    content: '✔';
    color: white;
    font-size: 14px;
    position: absolute;

    margin-left: 5px;

  }

  .shade-item.selected {
    border: 2px solid #002b52;
  }


  .selected-color {
    margin-top: 10px;

  }

  .color-shades .show-more {
    margin: auto;
    text-decoration: underline;
    color: #002b52;
    font-weight: 500;
}

.selected-color-container{
    display: flex;
    align-items: center;
}
.selected-details {
    padding: 0 15px;
}

.product-customization {
    display: none;
}

@media (max-width: 600px) {
    .color-shades {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .shade-item {
        width: calc(40% - 10px);
    }
}


.listing_color_choices li {
    display: inline-block;
}

.listing_color_choices span.btn-element {
    display: inline-block;
    border: solid 1px #002b52;
    padding: 5px 10px;
    cursor: pointer;
}

.listing_color_choices span.btn-element.color-selected,
.listing_color_choices span.btn-element:hover {
    background-color: #75afff;
    color: #FFF;
    border-color: #75afff;
}