/**
 * 2007-2026 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-2026 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 */

.energy-efficiency-info {
    margin-top: 10px;
}

.energy-efficiency-info a {
    text-decoration: underline;
    font-weight: bold;
}

.energy-efficiency-image img {
    max-width: 100px;
    height: auto;
    margin-top: 5px;
}

/* Product Flags - Energy Efficiency */
.product-flag.energy-label {
    font-weight: bold;
    color: #fff;
    padding: 0;
    border-radius: 3px;
    text-transform: uppercase;
    background-color: transparent !important;
    min-width: 45px;
}

.product-flag.energy-label::before {
    content: "";
    display: block;
    width: 45px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Specific images by letter */
.product-flag.energy-a::before,
.product-flag.energy-a\+::before { background-image: url('../img/a.png'); }
.product-flag.energy-b::before { background-image: url('../img/b.png'); }
.product-flag.energy-c::before { background-image: url('../img/c.png'); }
.product-flag.energy-d::before { background-image: url('../img/d.png'); }
.product-flag.energy-e::before { background-image: url('../img/e.png'); }
.product-flag.energy-f::before { background-image: url('../img/f.png'); }
.product-flag.energy-g::before { background-image: url('../img/g.png'); }

/* Hide text if we want only image */
.product-flag.energy-label {
    font-size: 0;
}

