/**
 * Copyright since 2016 JustIdea Agency.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * 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 contact us for extra customization service at an affordable price
 *
 * @author    JustIdea Agency <contact@justidea.agency>
 * @copyright 2016-2026 JustIdea Agency
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

.ji-campaign[hidden],
[data-ji-newsletter][hidden] {
    display: none !important;
}
[data-ji-campaign-widget] {
    container: ji-campaign-widget / inline-size;
    grid-area: promo;
    width: 100%;
    min-width: 0;
}
.ji-campaign {
    box-sizing: border-box;
    border: 1px dashed #1d1d1b;
    padding: 14px 16px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 16px;
    align-items: center;
    color: #1d1d1b;
    font-family: Montserrat, Arial, sans-serif;
}
.ji-campaign * {
    box-sizing: border-box;
}
.ji-campaign__heading {
    grid-column: 1/-1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ji-campaign__tiers {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.ji-campaign__tier {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 3px 8px;
    margin-left: -8px;
}
.ji-campaign__tier b {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.02em;
}
.ji-campaign__hours {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ji-campaign__tier--now {
    background: #1d1d1b;
    color: white;
}
.ji-campaign__now {
    white-space: nowrap;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.ji-campaign__code {
    border: 2px dashed #1d1d1b;
    background: transparent;
    color: #1d1d1b;
    padding: 16px 18px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-align: center;
    cursor: pointer;
    overflow-wrap: anywhere;
    width: 100%;
    min-width: 0;
    line-height: 1.35;
}
.ji-campaign__code small {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #666;
    margin-top: 5px;
    min-height: 2.8em;
    line-height: 1.4;
    text-transform: uppercase;
}
.ji-campaign__ending {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
}
.ji-campaign__note {
    grid-column: 1/-1;
    font-size: 10.5px;
    color: #666;
    line-height: 1.45;
    margin-top: 4px;
}
.ji-campaign__note a {
    white-space: nowrap;
    color: #1d1d1b;
    font-weight: 600;
}
.ji-campaign__code:focus-visible {
    outline: 2px solid #1d1d1b;
    outline-offset: 3px;
}
@container ji-campaign-widget (min-width: 380px) {
    .ji-campaign {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
    .ji-campaign__tier {
        grid-template-columns: 35px minmax(0, 1fr) auto;
        gap: 6px;
    }
    .ji-campaign__code {
        padding-right: 10px;
        padding-left: 10px;
    }
}
