/**
* 2007-2025 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-2025 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.
*/

/* Estilos para el mensaje de cálculo de envío */
.shipping-calculator-message {
    margin-top: 5px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.shipping-calculator-message.calculated {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.shipping-calculator-message.pending {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

/* Personalización del precio del carrier cuando está "Por calcular" */
.delivery-option .carrier-price.pending::after {
    content: " - Por calcular";
    font-style: italic;
    color: #f39c12;
    font-size: 0.9em;
}

/* Para PrestaShop 1.7+ */
.js-delivery-option .carrier-price.shipping-pending::after {
    content: "Por calcular";
    font-style: italic;
    color: #f39c12;
}

/* Ocultar el precio fijo cuando está pendiente */
.carrier-price.shipping-pending .price-value {
    display: none;
}
