/**
* 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.
*/
.thumbnail-container,
.product-cover {
    position: relative;
}

.tv-sticker-item {
    position: absolute;
    z-index: 10;
    line-height: 0;
}

.tv-sticker-item img,
.tv-sticker-item .tv-text-sticker-span {
    max-width: 100%;
    height: auto; /* Ensure image scales correctly */
    background: transparent; /* Override default theme background for sticker images */
}

.tv-text-sticker-span {
    display: inline-block;
    padding: 5px 10px;
    line-height: 1.2;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

/* Alignment classes */
#tvproduct-stikers .tv-sticker-item.top-left { top: 10px; left: 10px; }
#tvproduct-stikers .tv-sticker-item.top-center { top: 10px; left: 50%; transform: translateX(-50%); text-align: center;}
#tvproduct-stikers .tv-sticker-item.top-right { top: 10px; right: 10px; text-align: right;}
#tvproduct-stikers .tv-sticker-item.center-left { top: 50%; left: 10px; transform: translateY(-50%); }
#tvproduct-stikers .tv-sticker-item.center-center { top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;}
#tvproduct-stikers .tv-sticker-item.center-right { top: 50%; right: 10px; transform: translateY(-50%); text-align: right;}
#tvproduct-stikers .tv-sticker-item.bottom-left { bottom: 10px; left: 10px; }
#tvproduct-stikers .tv-sticker-item.bottom-center { bottom: 10px; left: 50%; transform: translateX(-50%); text-align: center;}
#tvproduct-stikers .tv-sticker-item.bottom-right { bottom: 10px; right: 10px; text-align: right;}

.tv-sticker-banner-container {
    padding: 10px;
    margin: 15px 0;
    text-align: center;
    border-radius: 4px;
}
.tv-text-sticker-text-on-img{
    padding: 2px 4px;
}
.tooltip.bs-tether-element-attached-bottom .tooltip-inner::before, 
.tooltip.tooltip-top .tooltip-inner::before{
    transform: rotate(180deg);
}

.tooltip-inner::before{
    border:none !important;
    width: 11px;
    height: 6px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: inherit;
}
.tooltip.bs-tether-element-attached-left .tooltip-inner::before, .tooltip.tooltip-right .tooltip-inner::before{
    transform: rotate(-90deg);
    left: -3px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.tooltip.bs-tether-element-attached-right .tooltip-inner::before, .tooltip.tooltip-left .tooltip-inner::before{
    right: -3px;
    transform: rotate(90deg);
    top: 0;
    bottom: 0;
    margin: auto;
}

.bs-tether-element.tooltip.in{
    opacity: 1 !important;
}

.tippy-box[data-theme~='tvtooltip'] {
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tippy-arrow{
    color: inherit;
}