/* Price-tag templates (A4 landscape). Shared by the on-screen previews and the print iframe. */
@font-face{font-family:Gilroy;font-weight:500;font-display:block;src:url(/fonts/Gilroy-Medium.ttf) format("truetype")}
@font-face{font-family:Gilroy;font-weight:600;font-display:block;src:url(/fonts/Gilroy-Semibold.ttf) format("truetype")}
@font-face{font-family:Gilroy;font-weight:700;font-display:block;src:url(/fonts/Gilroy-Bold.ttf) format("truetype")}

.page{--w:#FFFFFF;--k:#111111;--y:#FFD600;--r:#E53935;--b:#0066FF;--n:#0A2540;--gl:#D9DCE1;
  width:297mm;height:210mm;position:relative;overflow:hidden;background:var(--w);color:var(--k);
  font-family:Gilroy,sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;
  -webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
.page *{box-sizing:border-box;margin:0;padding:0}
.page>*,.page .half>*{position:absolute}

/* atoms */
.page svg.logo{display:block;aspect-ratio:650/122;height:auto;width:44mm}
.page svg.logo.white{--ll:#fff;--lb:#fff}
.page .plate{display:inline-flex;align-items:center;justify-content:center;background:var(--w);border-radius:3.5mm;padding:3mm 4.2mm}
.page .plate.flat{padding:0;background:none}
.page .uzlogo{display:block;aspect-ratio:1668/538;background:url(/img/uzum-nasiya-full.png) center/contain no-repeat}
.page .ak{display:inline-flex;gap:.35em;align-items:baseline;font-weight:600;white-space:nowrap;line-height:1;color:var(--w)}
.page .ak b{font-weight:700;color:var(--y)}
.page .ak.cap{background:var(--k);border-radius:999px;padding:.62em 1.05em}
.page .ak.navy{background:var(--n)}
.page .promo{display:flex;flex-direction:column;gap:.32em;line-height:1.05}
.page .promo .nm{font-weight:700;letter-spacing:-.02em}
.page .promo .sl{font-weight:600;font-size:.42em;line-height:1.2}
.page .lb{display:block;font-weight:700;line-height:1;color:var(--n)}
.page .op,.page .np{display:block}
.page .old,.page .new{display:inline-flex;align-items:flex-start;white-space:nowrap;line-height:.76;vertical-align:top}
.page .old{font-weight:600;letter-spacing:-.025em;color:var(--n)}
.page .new{font-weight:700;letter-spacing:-.035em;color:var(--k)}
.page .old .u,.page .new .u{display:flex;flex-direction:column;font-size:.25em;letter-spacing:-.005em;line-height:1.04;margin:.03em 0 0 .16em}
.page .old .u b,.page .new .u b{font-weight:700}
.page .old .u b:last-child,.page .new .u b:last-child{font-weight:600}
.page .old .n{position:relative}
.page .old .n::after{content:"";position:absolute;left:-3%;right:-3%;top:46%;height:max(.055em,.6mm);background:var(--r);border-radius:99px;transform:rotate(-5deg)}
.page .yp{display:inline-block;background:var(--y);border-radius:3.5mm;padding:3.2mm 5mm 2.6mm}
.page .foyda{display:inline-flex;align-items:baseline;gap:.45em;white-space:nowrap;line-height:1;font-weight:700;border-radius:999px;padding:.8em 1.2em}
.page .foyda .v{letter-spacing:-.02em;font-size:1.4em}
.page .foyda.wcap{background:var(--w);color:var(--n)}
.page .foyda.wcap .v{color:var(--b)}
.page .foyda.blue{background:var(--b);color:var(--w)}
.page .foyda.blue .v{color:var(--y)}
.page .foyda.blk{background:var(--k);color:var(--w)}
.page .foyda.navy{background:var(--n);color:var(--w)}
.page .foyda.blk .v,.page .foyda.navy .v{color:var(--y)}
.page .prod{font-weight:600;line-height:1.25;color:var(--n);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* ============ A4 · Ko'k ============ */
.t-kok{background:var(--b)}
.t-kok .top{left:14mm;right:14mm;top:14mm;display:flex;justify-content:space-between;align-items:center}
.t-kok .top svg.logo{width:50mm}
.t-kok .top .ak{font-size:6.4mm}
.t-kok .olds{left:14mm;top:40mm;width:190mm}
.t-kok .lb{color:var(--w);font-size:6.4mm;margin-bottom:4mm}
.t-kok .old{color:var(--w)}
.t-kok>.plate{right:14mm;top:42mm}
.t-kok .news{left:14mm;right:14mm;top:97mm}
.t-kok .yp{padding:4mm 6mm 3.4mm}
.t-kok .foot{left:14mm;right:14mm;bottom:14mm;display:flex;justify-content:space-between;align-items:flex-end;gap:10mm}
.t-kok .prod{color:var(--w);font-size:5.4mm;padding-bottom:1mm;max-width:150mm}
.t-kok .foyda{font-size:7mm}

/* ============ A4 · Sariq klassik ============ */
.t-sariq{background:var(--y)}
.t-sariq .strip{left:0;right:0;top:0;height:42mm;background:var(--k);display:flex;justify-content:space-between;align-items:center;padding:0 14mm}
.t-sariq .strip .promo{font-size:13mm;color:var(--y)}
.t-sariq .strip .promo .sl{color:var(--w)}
.t-sariq .sr{display:flex;flex-direction:column;align-items:flex-end;gap:5mm}
.t-sariq .sr svg.logo{width:46mm}
.t-sariq .sr .ak{font-size:5.4mm}
.t-sariq .olds{left:14mm;top:52mm;width:196mm}
.t-sariq>.plate{right:14mm;top:54mm}
.t-sariq .news{left:14mm;right:14mm;top:106mm}
.t-sariq .lb{font-size:6.4mm;margin-bottom:4mm;color:var(--k)}
.t-sariq .foot{left:14mm;right:14mm;bottom:14mm;display:flex;justify-content:space-between;align-items:flex-end;gap:10mm}
.t-sariq .prod{font-size:5.4mm;color:var(--k);padding-bottom:1mm;max-width:150mm}
.t-sariq .foyda{font-size:7mm}

/* ============ 2-up shared ============ */
.duo .half{position:absolute;top:0;bottom:0;width:148.5mm;overflow:hidden}
.duo .half.l{left:0}.duo .half.r{left:148.5mm}
.duo .cut{left:148.5mm;top:0;bottom:0;width:0;border-left:.35mm dashed var(--k);z-index:5}
.duo .cut .sc{position:absolute;left:-4.2mm;top:50%;margin-top:-4.2mm;width:8.4mm;height:8.4mm;border-radius:50%;background:var(--w);color:var(--k);display:flex;align-items:center;justify-content:center;border:.3mm solid var(--k)}
.duo .cut .sc svg{width:5.2mm;height:5.2mm;transform:rotate(90deg)}
.duo .in{left:11mm;right:11mm;top:11mm;bottom:11mm;display:flex;flex-direction:column}
.duo .lb{font-size:5mm;margin-bottom:3.4mm}
.duo .yp{padding:2.8mm 4mm 2.3mm;border-radius:3mm}
.duo .prod{margin-top:auto;font-size:4.7mm;padding-top:3.2mm;border-top:.35mm solid var(--gl)}
.duo .empty{inset:0;display:flex;align-items:center;justify-content:center;font:600 5mm Gilroy,sans-serif;color:#9aa3ad;background:repeating-linear-gradient(135deg,#f4f6f8 0 6mm,#fff 6mm 12mm)}

/* ============ 2 talik · Qizil lenta ============ */
.t-lenta .ribbon{left:0;right:0;top:0;height:26mm;background:var(--r);display:flex;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 5mm))}
.t-lenta .ribbon .ak{font-size:5.6mm}
.t-lenta .ribbon .ak b{color:var(--w)}
.t-lenta .in{top:34mm}
.t-lenta .logos{display:flex;justify-content:space-between;align-items:center}
.t-lenta .logos svg.logo{width:42mm}
.t-lenta .kb{margin-top:10mm;background:var(--k);border-radius:5mm 5mm 0 0;padding:6mm 5.5mm 6mm}
.t-lenta .kb .lb{color:var(--y)}
.t-lenta .kb .old{color:var(--w)}
.t-lenta .yb{background:var(--y);border-radius:0 0 5mm 5mm;padding:6mm 5.5mm 7mm}
.t-lenta .yb .lb{color:var(--k)}
.t-lenta .hang{position:relative;margin-top:10mm;align-self:flex-start;transform:rotate(-3deg);transform-origin:left center}
.t-lenta .hang .foyda{background:var(--k);color:var(--w);font-size:5.8mm;padding:.85em 1.1em .85em 2.3em;border-radius:2.5mm;clip-path:polygon(4.5mm 0,100% 0,100% 100%,4.5mm 100%,0 50%)}
.t-lenta .hang .foyda .v{color:var(--y)}
.t-lenta .hang::before{content:"";position:absolute;left:4.8mm;top:50%;width:2.6mm;height:2.6mm;margin-top:-1.3mm;border-radius:50%;background:var(--w);z-index:2}
.t-lenta .prod{border-top-color:var(--k)}

/* ============ 2 talik · Sariq ============ */
.t-d4 .half{background:var(--y)}
.t-d4 .promo{font-size:10mm}
.t-d4 .ak{font-size:4.6mm;align-self:flex-start;margin-top:4mm}
.t-d4 .logos{display:flex;justify-content:space-between;align-items:center;margin-top:8mm}
.t-d4 .logos svg.logo{width:40mm}
.t-d4 .plate{padding:2.4mm 3.4mm}
.t-d4 .olds{margin-top:10mm}
.t-d4 .news{margin-top:10mm}
.t-d4 .lb{color:var(--k)}
.t-d4 .foyda{margin-top:10mm;font-size:5.8mm;align-self:flex-start}
.t-d4 .prod{color:var(--k);border-top-color:var(--k)}

/* ============ 2 talik · Uzum & e-one karta ============ */
.t-d5 .card{left:8mm;right:8mm;top:8mm;bottom:8mm;border:1mm solid var(--b);border-radius:7mm;overflow:hidden;display:flex;flex-direction:column;background:var(--w)}
.t-d5 .yb{background:var(--y);padding:5mm 6mm 5mm;display:flex;flex-direction:column;gap:3.6mm}
.t-d5 .yb .promo{font-size:9mm}
.t-d5 .yb .ak{font-size:4.4mm;align-self:flex-start}
.t-d5 .bb{background:var(--b);padding:3.6mm 6mm;display:flex;justify-content:space-between;align-items:center}
.t-d5 .bb svg.logo{width:36mm}
.t-d5 .bb .plate{padding:2mm 3mm}
.t-d5 .body{flex:1;padding:8mm 6mm 5mm;display:flex;flex-direction:column}
.t-d5 .news{margin-top:9mm}
.t-d5 .foyda{margin-top:9mm;font-size:5.6mm;align-self:flex-start}

/* ============ 2 talik · Bölaaaarkan-ku! lenta ============ */
.t-d6 .ribbon{left:0;right:0;top:0;height:47mm;background:var(--r);color:var(--w);display:flex;flex-direction:column;justify-content:center;gap:3.4mm;padding:7mm 11mm 5mm;clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 5mm))}
.t-d6 .ribbon .promo{font-size:9.5mm}
.t-d6 .ribbon .ak{font-size:4.6mm}
.t-d6 .in{top:53mm}
.t-d6 .logos{display:flex;justify-content:space-between;align-items:center}
.t-d6 .logos svg.logo{width:40mm}
.t-d6 .pb{margin-top:6mm;background:var(--y);border-radius:5mm;padding:6mm 6mm 7mm;clip-path:polygon(0 0,calc(100% - 9mm) 0,100% 9mm,100% 100%,0 100%)}
.t-d6 .pb .news{margin-top:7mm}
.t-d6 .lb{color:var(--k)}
.t-d6 .hang{position:relative;margin-top:8mm;align-self:flex-start;transform:rotate(-3deg);transform-origin:left center}
.t-d6 .hang .foyda{background:var(--n);color:var(--w);font-size:5.6mm;padding:.85em 1.1em .85em 2.3em;border-radius:2.5mm;clip-path:polygon(4.5mm 0,100% 0,100% 100%,4.5mm 100%,0 50%)}
.t-d6 .hang .foyda .v{color:var(--y)}
.t-d6 .hang::before{content:"";position:absolute;left:4.8mm;top:50%;width:2.6mm;height:2.6mm;margin-top:-1.3mm;border-radius:50%;background:var(--w);z-index:2}
