/**
* 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.
*/
#modalWarrantyProducts .modal-content {
    padding: 32px;
}

.title-info-garantia {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    /* 150% */
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
    cursor: pointer;
}

.body-warranty-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0 !important;
}

.info-warranty-body {
    display: flex;
    flex-direction: column;
    gap: 8px;

}

.info-warranty-body>div {
    display: flex;
    gap: 10px;
    justify-content: start;
    align-items: center;
}

.warranty-title {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}

.warranty-text {
    margin: -4px auto 0 35px;
    font-size: 14px;
    font-style: normal;
    font-weight: 200;
    line-height: 24px;
    /* 160% */
}

#modalWarrantyProducts>div>div>div.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modalWarrantyProducts .modal-header {
    padding: 0px;
    padding-bottom: 24px;
}

#modalWarrantyProducts>div>div>div.modal-header>button {
    margin: -1rem 0;
}

#modalWarrantyProducts .modal-footer {
    border: none;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

.warranty-text-icon {
    font-weight: 400;
    font-size: 14px;
    padding-top: 24px;
}

.warranty-text-icon>img {
    margin-right: 8px;
}

.dbproductextension-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dbproductextension-item-select {
    width: calc(50% - 5px);
}

#cart .dbproduct-extensions,
#cart .dbproduct-extensions p,
#checkout .dbproduct-extensions,
#checkout .dbproduct-extensions p {
    font-size: 13px;
    font-style: normal;
    font-weight: 200;
    line-height: 24px;
    /* 160% */
}

#cart .dbproduct-extensions .title,
#checkout .dbproduct-extensions .title {
    font-weight: 400;
}

#blockcart-modal .dbproduct-extensions .title {
    font-size: 13px;
    margin-bottom: 5px;
}

#cart .dbproduct-extensions p,
#checkout .dbproduct-extensions p {
    margin: 0;
}

#cart .dbproduct-extensions ul,
#checkout .dbproduct-extensions ul {
    padding-left: 8px;
}

#cart .dbproduct-extensions ul i,
#checkout .dbproduct-extensions ul i {
    margin-right: 4px;
}

#blockcart-modal div.dbproduct-extensions i {
    margin-right: 4px;
}

.more-warranty-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.warranty-text-button {
    display: flex;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    /* 160% */
    cursor: pointer;
}

/** Imagenes radio**/
.dbproductextension-item-image{
    width: 100%;
        font-size: 14px;
        line-height: 24px;
}

.dbproductextension-image {
    width: 40px; /* Ajusta según el tamaño que quieras para las imágenes */
    height: auto;
    cursor: pointer;
}
.dbproductextension-item-image-content{
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dbproductextension-item-image-value input[type="radio"] {
    display: none; /* Ocultamos el radio input, ya que usamos la imagen como selector */
}
.dbproductextension-item-image-value input[type="radio"] + label img {
    border: 2px solid #EAECF0; /* Cambia el borde cuando la opción esté seleccionada */
    border-radius: 8px;
    padding: 2px;
}
.dbproductextension-item-image-value input[type="radio"]:checked + label img {
    border: 2px solid var(--button_p_bk_hover); /* Cambia el borde cuando la opción esté seleccionada */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Sombra opcional al seleccionar */
}

label[title]:hover {
    cursor: help; /* Cambia el cursor al pasar por encima del label */
}

@media screen and (max-width: 600px) {
    #modalWarrantyProducts .modal-content {
        padding: 16px;
    }

    .dbproductextension-item-select {
        width: 100%;
    }

    .dbproductextension-content {
        flex-direction: column;
    }

    .cart-item .cart__product-price {
        width: 50% !important;
    }
}

/* Tooltip container */
.tooltip {
    position: relative;
  }
  
  /* Tooltip text */
  .tooltip .tooltiptext {
    visibility: hidden;
    background-color: #ffffff;
    color: var(--color_font);
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    position: absolute;
    z-index: 1;
    min-width: 120px;
    top: 100%;
    left: 50%;
    margin-left: -60px;
    border: 1px solid #EAECF0;
  }
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }
  .tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #EAECF0 transparent;
  }
  