/* IMPORTANTE: não incluir um width especifico para box-product, o mesmo deverá ajustar ao tamanho do pai */
.box-product {
    margin: auto 5px;
    background: #ffffff;
    padding: 8px;
    border-radius: 7px;
}

.box-product-image {
    display: block;
    position: relative;
    margin-bottom: 10px;
}

.box-product-image img {
    min-width: 100%;
}

.box-product-tags-position {
    position: absolute;
    top: 10px;
    left: 10px;
}

.box-product-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-sm);
    line-break: 3px;
    color: var(--white-color);
    font-weight: bold;
    font-size: .675rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.box-product-tag.off {
    background-color: var(--primary-background-color);
    color: var(--white-color);
}

.box-product-tag.new {
    background-color: var(--secondary-background-color);
    color: var(--white-color);
}

.box-product .countdown {
    position: relative;
    max-width: 100%;
    padding-bottom: 0;
}

.countdown-wrapper {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    top: -46px;
    padding: 7px;
    background-color: #E5E5E5;
    border-radius: 5px;
    color: var(--black-color);
}

.countdown-wrapper div {
    display: flex;
}

.countdown-wrapper div > span {
    font-size: var(--text-sm);
    color: var(--black-color);
    font-weight: 600;
    text-align: left;
    line-height: 15px;
}

.countdown-wrapper div > span .countdown-legend {
    font-size: 0.65em;
    text-transform: uppercase;
}

/* overflow hidden força o título ficar em uma linha */
.box-product-title {
    overflow: hidden;
    font-size: var(--text-base);
    height: var(--text-xl);
}

.box-product-value {
    font-size: var(--text-sm);
    font-weight: bold;
}

.box-product-value-discount {
    color: var(--gray-400-color);
    font-size: var(--text-xs);
    text-decoration: line-through;
    margin-right: 5px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .box-product-tag {
        font-size: var(--text-xs);
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .countdown-wrapper div > span {
        font-size: var(--text-sm);
    }
}
