/* ═══════════════════════════════════════════════════════════════
   Serisan Promosyon · ürün etiketleri (16.11.2026)
   "Canlı Önizleme", "Kampanyalı Ürün", "Fırsat Ürünü", "Yeni Eklenen", "Çok Satan" … ürün kartlarında ve ürün sayfasındaki
   görselin üzerinde. İşaretleme: services/product-tags.js html() + public/v3/common.js S3P.tags() (ikisi aynı).
   Renkler (c-*) ve simgeler (i-*) yalnızca burada tanımlıdır; yönetim paneli de bu dosyayı kullanır.
   ═══════════════════════════════════════════════════════════════ */
.tgs{position:absolute;left:0;top:0;width:100%;aspect-ratio:1/1;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;pointer-events:none}
.tgs-t,.tgs-b{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%;min-width:0}
.tgs-b{margin-top:auto}
.tg{--c:#F0127A;--c2:#A8084D;pointer-events:auto;display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:0;padding:4px 10px 4px 8px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--c),var(--c2));color:#fff;font:800 11.5px/1.25 var(--font,'Inter',system-ui,sans-serif);letter-spacing:.01em;white-space:nowrap;text-transform:none;box-shadow:0 6px 14px -8px var(--c2);cursor:help;-webkit-tap-highlight-color:transparent}
.tg b{font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis}
.tg-i{flex:none;display:inline-block;width:13px;height:13px;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
/* Görselin sol altındaki etiket (ör. Canlı Önizleme): açık zeminli, renkli yazı — üstteki satış etiketlerinden ayrışır */
.tgs-b .tg{padding:4px 10px 4px 7px;background:color-mix(in srgb,#fff 92%,transparent);color:var(--c2);box-shadow:0 0 0 1px color-mix(in srgb,var(--c) 34%,transparent),0 6px 14px -9px rgba(22,3,15,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.tgs-b .tg .tg-i{background:var(--c)}
a.card .tg{cursor:pointer}
@media (hover:hover){.tg{transition:transform .3s var(--spring,ease),box-shadow .25s}.tg:hover{transform:translateY(-1px) scale(1.04)}}
@container (max-width:200px){.tgs{padding:8px;gap:4px}.tg{font-size:10.5px;padding:3px 8px 3px 6px;gap:4px}.tgs-b .tg{padding:3px 8px 3px 6px}.tg-i{width:11.5px;height:11.5px}}
@container (min-width:300px){.tgs{padding:12px}.tg{font-size:12.5px;padding:5px 12px 5px 9px}.tgs-b .tg{padding:5px 12px 5px 9px}.tg-i{width:14px;height:14px}}
/* Ürün sayfası: görselin üzerinde (dokununca / üzerine gelince açıklama balonu) */
.gal-tags{position:relative;height:0;z-index:3}
.gal-tags .tgs{padding:14px;gap:8px}
.gal-tags .tgs-t,.gal-tags .tgs-b{gap:7px}
.gal-tags .tg{font-size:13px;padding:6px 13px 6px 10px;gap:6px}
.gal-tags .tgs-b .tg{padding:6px 13px 6px 10px}
.gal-tags .tg-i{width:15px;height:15px}
.gal-tags .tg:focus-visible{outline:3px solid color-mix(in srgb,var(--c) 55%,#fff);outline-offset:2px}
@media (min-width:980px){.gal-tags .tgs{padding:18px}.gal-tags .tg{font-size:13.5px}}
/* Açıklama balonu (tek kutu, sabit konum) */
.tg-tip{position:fixed;left:0;top:0;z-index:2147483000;max-width:min(290px,calc(100vw - 16px));padding:10px 13px;border-radius:12px;background:#1d0a15;color:#fff;font:600 13px/1.45 var(--font,'Inter',system-ui,sans-serif);letter-spacing:0;text-wrap:pretty;box-shadow:0 14px 34px -12px rgba(22,3,15,.55);opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .16s,transform .2s,visibility 0s .2s}
.tg-tip.up{transform:translateY(-4px)}
.tg-tip.on{opacity:1;visibility:visible;transform:none;transition:opacity .16s,transform .2s}
.tg-tip::before{content:'';position:absolute;left:calc(var(--ax,22px) - 6px);top:-5px;width:12px;height:12px;border-radius:3px;background:inherit;transform:rotate(45deg)}
.tg-tip.up::before{top:auto;bottom:-5px}
@media (prefers-reduced-motion:reduce){.tg,.tg-tip{transition:none}}
/* "Canlı Önizleme" etiketine tıklanınca "Logonu yükle" kartı kısa süre vurgulanır */
.oz-card.tg-hi{animation:tg-hi 1.4s ease-out 1}
@keyframes tg-hi{0%,55%{box-shadow:0 0 0 4px color-mix(in srgb,#E6086E 38%,transparent)}100%{box-shadow:0 0 0 12px transparent}}
/* Renkler */
.tg.c-pink{--c:#F0127A;--c2:#A8084D}.tg.c-red{--c:#E0352B;--c2:#8F1D15}.tg.c-orange{--c:#EE5A12;--c2:#9A2B0E}.tg.c-amber{--c:#D97706;--c2:#8A3C0A}.tg.c-green{--c:#0E9F5B;--c2:#07603A}.tg.c-teal{--c:#0C9A8B;--c2:#085F57}.tg.c-blue{--c:#1D74F0;--c2:#1746A6}.tg.c-purple{--c:#7C55F2;--c2:#4A1FB8}.tg.c-dark{--c:#4A3F47;--c2:#16030f}
/* Simgeler */
.tg-i.i-eye{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.tg-i.i-sparkles{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 3l2.1 5.9L19 11l-5.9 2.1L11 19l-2.1-5.9L3 11l5.9-2.1L11 3Z'/%3E%3Cpath d='M19 16v5M21.5 18.5h-5' fill='none' stroke-width='2.2'/%3E%3C/svg%3E")}
.tg-i.i-percent{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.6'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.6'/%3E%3C/svg%3E")}
.tg-i.i-zap{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E")}
.tg-i.i-flame{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E")}
.tg-i.i-star{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z'/%3E%3C/svg%3E")}
.tg-i.i-gift{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v4H3zM12 8v13M5 12v9h14v-9'/%3E%3Cpath d='M12 8S10.5 3 8 3a2.5 2.5 0 0 0 0 5h4Zm0 0s1.5-5 4-5a2.5 2.5 0 0 1 0 5h-4Z'/%3E%3C/svg%3E")}
.tg-i.i-tag{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h8.6l9 9a2 2 0 0 1 0 2.8l-5.8 5.8a2 2 0 0 1-2.8 0l-9-9V3Z'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.2'/%3E%3C/svg%3E")}
.tg-i.i-clock{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
.tg-i.i-award{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14-1.5 8 5-3 5 3-1.5-8'/%3E%3C/svg%3E")}
.tg-i.i-leaf{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13C4 7 9 4 20 4c0 9-3 16-9 16Z'/%3E%3Cpath d='M4 21c2-5 6-9 11-11'/%3E%3C/svg%3E")}
.tg-i.i-heart{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-8-5.3-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.7-8 11-8 11Z'/%3E%3C/svg%3E")}
.tg-i.i-truck{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4l4 4v3h-8z'/%3E%3Ccircle cx='6.5' cy='17.5' r='2'/%3E%3Ccircle cx='17' cy='17.5' r='2'/%3E%3C/svg%3E")}
