/* UCUZABULAN B178 - runtime logo/image/price final guard
   B177 denetiminde bulunan iki gerçek eksik kapatıldı:
   1) yerel marketplace_logo.php endpointleri /img.php proxy'ye düşmesin,
   2) geniş web logoları için teklif grid kolonları ve fiyat/TL satırları taşmadan çalışsın. */
:root{--ub-b178-ink:#0f172a;--ub-b178-muted:#64748b;--ub-b178-border:rgba(15,23,42,.10);--ub-b178-soft:#f8fafc}

/* Teklif listesi: logo kutusu büyüdüğünde grid de büyümeli, yoksa 204px logo 110px kolonda sıkışır. */
html body .ub-offer-v2__grid{display:grid!important;grid-template-columns:minmax(204px,220px) minmax(0,1fr) minmax(170px,auto)!important;gap:16px!important;align-items:center!important;width:100%!important;min-width:0!important}
html body .ub-offer-v2__left,
html body .ub-offer-v2__mid,
html body .ub-offer-v2__right{min-width:0!important;max-width:100%!important}
html body .ub-offer-v2__logoBox{min-width:204px!important;width:204px!important;max-width:220px!important;min-height:74px!important;padding:10px 14px!important;background:#fff!important;border:1px solid var(--ub-b178-border)!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important}
html body .ub-offer-v2__logoBox img,
html body .ub-offer-v2__logoBox img[src*="marketplace_logo.php"],
html body .ub-offer-v2__logoBox img[src*="/assets/img/marketplace-logos/"]{width:180px!important;height:54px!important;max-width:180px!important;max-height:54px!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;background:transparent!important;padding:0!important;display:block!important;filter:none!important;opacity:1!important}
html body .ub-offer-v2__providerLabel{font-weight:950!important;line-height:1.18!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:100%!important}
html body .ub-offer-v2__price,
html body .ub-offer-v2__shipping,
html body .ub-offer-v2__meta{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important}

/* Home/store kartları: wordmark endpointleri direkt basılır; kare placeholder gibi kırpılmasın. */
html body .ub-store-card .ub-store-ico,
html body .ub-store-card img.ub-store-ico,
html body .home-store-card img,
html body .store-card img,
html body .ub-home-store-logo img,
html body .ub-store-logo img,
html body img[src*="marketplace_logo.php"],
html body img[src*="/assets/img/marketplace-logos/"]{object-fit:contain!important;object-position:center!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important}
html body .ub-store-card .ub-store-ico,
html body .ub-store-card img.ub-store-ico{width:136px!important;height:56px!important;max-width:136px!important;max-height:56px!important;background:#fff!important;border-radius:0!important;padding:0!important}
html body .ub-store-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important;min-height:2.25em!important;color:var(--ub-b178-ink)!important}

/* Ürün görselleri: Bing/canlı thumbnail proxyde placeholder'a düşerse görsel sorunları geri gelir; kartlarda beyaz/contain koruması. */
html body .ub-pdp__hero,
html body .ub-pdp__galleryCard,
html body .ub-carousel__item [style*="height:140px"],
html body .ub-pdp-popular-card [style*="height:110px"]{background:#fff!important;border-color:rgba(15,23,42,.08)!important;overflow:hidden!important}
html body #ubHeroImg,
html body .ub-pdp__hero img,
html body .ub-pdp__galleryCard img,
html body .ub-carousel__item img,
html body .ub-pdp-popular-card img{object-fit:contain!important;object-position:center!important;background:#fff!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important}

/* Benzer/popüler ürünlerde fiyat ve TL hiçbir kart genişliğinde kesilmesin. */
html body .ub-carousel__track{overflow-x:auto!important;overflow-y:visible!important;align-items:stretch!important;padding-bottom:10px!important}
html body .ub-carousel__item,
html body .ub-pdp-popular-card{overflow:visible!important;background:#fff!important;min-width:224px!important;max-width:272px!important;box-sizing:border-box!important}
html body .ub-carousel__item .ub-price-line,
html body .ub-pdp-popular-card .ub-price-line,
html body .ub-prod-card .ub-price-line,
html body .ub-market-product-card .ub-price-line{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;line-height:1.16!important}
html body .ub-carousel__item .ub-price-line__label,
html body .ub-pdp-popular-card .ub-price-line__label,
html body .ub-prod-card .ub-price-line__label,
html body .ub-market-product-card .ub-price-line__label{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-weight:850!important;color:var(--ub-b178-muted)!important;line-height:1.15!important}
html body .ub-carousel__item .ub-price-line__value,
html body .ub-pdp-popular-card .ub-price-line__value,
html body .ub-prod-card .ub-price,
html body .ub-prod-card .ub-price-line__value,
html body .ub-market-product-card .ub-price,
html body .ub-market-product-card .ub-price-line__value{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:normal!important;color:var(--ub-b178-ink)!important;font-weight:1000!important;letter-spacing:-.02em!important;line-height:1.15!important;font-variant-numeric:tabular-nums!important}

@media (max-width:760px){
  html body .ub-offer-v2__grid{grid-template-columns:minmax(134px,150px) minmax(0,1fr)!important;gap:12px!important}
  html body .ub-offer-v2__right{grid-column:1 / -1!important;display:flex!important;justify-content:stretch!important}
  html body .ub-offer-v2__go{width:100%!important;justify-content:center!important}
  html body .ub-offer-v2__logoBox{min-width:134px!important;width:148px!important;max-width:150px!important;min-height:60px!important;padding:8px 10px!important}
  html body .ub-offer-v2__logoBox img,
  html body .ub-offer-v2__logoBox img[src*="marketplace_logo.php"],
  html body .ub-offer-v2__logoBox img[src*="/assets/img/marketplace-logos/"]{width:128px!important;height:42px!important;max-width:128px!important;max-height:42px!important}
  html body .ub-store-card .ub-store-ico,
  html body .ub-store-card img.ub-store-ico{width:120px!important;height:50px!important;max-width:120px!important;max-height:50px!important}
  html body .ub-pdp-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important}
  html body .ub-carousel__item,
  html body .ub-pdp-popular-card{min-width:0!important;max-width:none!important;width:100%!important;padding:10px!important}
}
@media (max-width:460px){
  html body .ub-offer-v2__grid{grid-template-columns:1fr!important}
  html body .ub-offer-v2__logoBox{width:100%!important;max-width:none!important;min-width:0!important}
  html body .ub-offer-v2__logoBox img{width:180px!important;max-width:100%!important;height:52px!important;max-height:52px!important}
  html body .ub-pdp-popular-grid{grid-template-columns:1fr 1fr!important}
  html body .ub-carousel__item .ub-price-line__value,
  html body .ub-pdp-popular-card .ub-price-line__value{font-size:14px!important;letter-spacing:-.03em!important}
}
