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

/* Cart rule label on product miniatures ("extra -20% Code: XXX") */
.solid-cart-rule-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 4px;
    margin: 0;
    padding: 4px 8px;
    background: #abd91b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.2px;
    text-align: center;
    border-bottom: 2px solid #000000;
}

.solid-cart-rule-label__value {
    color: #000000;
    white-space: nowrap;
}

.solid-cart-rule-label__code {
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
}

.solid-cart-rule-label__code strong {
    font-weight: 700;
}

@media (max-width: 575px) {
    .solid-cart-rule-label {
        padding: 3px 4px;
        font-size: 11px;
    }
}

/* Cart rule block on the product page */
.solid-cart-rule-product {
    margin: 10px 0 20px;
    text-align: left;
}

.solid-cart-rule-label--product {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
}

.solid-cart-rule-label__date {
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
}

.solid-cart-rule-product__body {
    padding: 12px 15px 15px;
    background: #f6f6f6;
}

.solid-cart-rule-product__text {
    margin: 0 0 10px;
    color: #414141;
    font-size: 14px;
    line-height: 20px;
}

.solid-cart-rule-product__code {
    display: flex;
    align-items: center;
    gap: 12px;
}

.solid-cart-rule-product__code-value {
    color: #222222;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.solid-cart-rule-product__copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #ffffff;
    color: #222222;
    border: 1px solid #222222;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.solid-cart-rule-product__copy:hover,
.solid-cart-rule-product__copy:focus {
    background: #abd91b;
    border-color: #000000;
    color: #000000;
    outline: none;
}

.solid-cart-rule-product__copy .material-icons {
    font-size: 20px;
}

.solid-cart-rule-product__copied {
    position: absolute;
    left: 100%;
    margin-left: 10px;
    color: #000000;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .solid-cart-rule-label--product {
        font-size: 13px;
    }
}
