/* ═══════════════════════════════════════════════════════════════
   QR Polccímke — önálló oldal CSS
   Fix QR elrendezés: QR bal oldalt, árak jobb oldalt
   ═══════════════════════════════════════════════════════════════ */

/* ── QR címke test: két oszlopos grid ── */
.qr-label-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2mm;
    flex: 1;
    min-height: 0;
    align-items: center;
}

/* QR kód oszlop */
.qr-label-qr-col {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.qr-label-qr-col img {
    display: block;
    background: #fff;
    padding: 1mm;
    border-radius: 1px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Ár oszlop */
.qr-label-price-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    gap: 0.4mm;
}

.qr-label-price-col .qr-label-price {
    text-align: center;
    color: #283593;
    font-weight: 900;
    font-size: 19px;
    margin: 0;
    line-height: 1.02;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 0;
}

.qr-label-price-col .qr-label-price .price-amount {
    font-weight: 900;
    letter-spacing: -0.01em;
}

.qr-label-price-col .qr-label-price .price-currency {
    font-size: 0.65em;
    font-weight: 700;
    opacity: 0.8;
}

.qr-label-price-col .qr-label-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2mm;
    color: #37474f;
    font-size: 8.5px;
    line-height: 1.3;
    flex-shrink: 0;
}

.qr-label-price-col .qr-label-row + .qr-label-row {
    margin-top: 0.4mm;
}

/* Footer (termékkód) a QR címkén */
.qr-label-footer {
    text-align: center;
    color: #78909c;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.5mm;
    border-top: 0.5px dashed #cfd8dc;
    letter-spacing: 0.03em;
    font-size: 8.5px;
}

/* ── QR oldal specifikus stílusok ── */
.qr-page-hero {
    text-align: center;
}

.qr-page-hero .qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-glare);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.qr-page-hero .qr-badge i {
    color: var(--primary-color);
}

/* QR info sáv */
.qr-info-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-glare);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--primary-dark);
}

.qr-info-bar i {
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.qr-info-bar a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.qr-info-bar a:hover {
    text-decoration: underline;
}

/* Nincs QR találat */
.qr-no-match {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--danger-color);
    margin-top: 8px;
}

.qr-no-match i {
    flex-shrink: 0;
}
