.store-price-tag {
    border: 1px solid #000;
    width: 360px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #000;
    margin: 0 auto 30px auto;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.store-price-tag-header {
    font-weight: bold;
    font-size: 13px;
    padding: 6px 8px;
    text-transform: uppercase;
    border-bottom: 1px solid transparent; /* Keeps spacing consistent if we wanted a line */
}

.store-price-tag-body {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 4px 4px 8px;
}

.store-price-tag-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.store-price-tag-barcode {
    width: 70px;
    height: 35px;
    background: repeating-linear-gradient(
        90deg,
        #000,
        #000 2px,
        #fff 2px,
        #fff 4px,
        #000 4px,
        #000 5px,
        #fff 5px,
        #fff 8px,
        #000 8px,
        #000 10px,
        #fff 10px,
        #fff 11px
    );
}

.store-price-tag-barcode-text {
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 2px;
}

.store-price-tag-center {
    display: flex;
    align-items: baseline;
    padding-bottom: 5px;
}

.store-price-tag-currency {
    font-weight: bold;
    font-size: 14px;
    margin-right: 6px;
}

.store-price-tag-price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-price-tag-label {
    font-size: 11px;
    font-weight: bold;
}

.store-price-tag-main-price {
    font-size: 52px;
    font-weight: bold;
    line-height: 0.8;
    letter-spacing: -2px;
}

.store-price-tag-right {
    background: #000;
    color: #fff;
    padding: 4px 12px 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-price-tag-right-label {
    font-size: 11px;
    font-weight: bold;
}

.store-price-tag-right-price {
    font-size: 42px;
    font-weight: bold;
    line-height: 0.9;
    letter-spacing: -1px;
}

.store-price-tag-right-footer {
    font-size: 9px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .store-price-tag {
        width: 100%;
        max-width: 360px;
    }

    .store-price-tag-main-price {
        font-size: 40px;
    }

    .store-price-tag-right-price {
        font-size: 32px;
    }

    .store-price-tag-body {
        padding: 0 2px 2px 4px;
        flex-wrap: nowrap;
    }

    .store-price-tag-right {
        padding: 4px 6px 6px 6px;
    }

    .store-price-tag-barcode {
        width: 50px;
    }
}

/* Efeito de Scanner na Etiqueta de Preço */
.has-scanner {
    position: relative;
    overflow: visible; /* Permite que o feixe de luz saia levemente da etiqueta */
}

.scanner-line {
    position: absolute;
    left: -4px;
    top: 0;
    width: calc(100% + 8px);
    height: 3px;
    background: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 16px 4px rgba(255, 0, 0, 0.7);
    z-index: 10;
    animation: scan-effect 3s infinite alternate ease-in-out;
}

@keyframes scan-effect {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(110px); /* Aproximadamente a altura da etiqueta, ajustável se necessário */
    }
}
