/* UCUZABULAN B177 - audit sonrası gerçek görsel / geniş logo / fiyat kırpılma final guard
   B176 denetiminde görülen eksikler: bazı generic mağaza adları, küçük/favicon logo renderı,
   benzer-popüler ürün fiyat/TL kırpılması ve PDP demo görsel sıralaması için son katman düzeltme. */
:root{--ub-b177-price:#0f172a;--ub-b177-muted:#64748b;--ub-b177-border:rgba(15,23,42,.10)}

/* PDP ana görsel: gerçek ürün/thumbnail ilk sıraya alındığında büyük alanda net ve beyaz arka planla görünsün. */
html body .ub-pdp__hero,
html body .ub-pdp__galleryCard,
html body .ub-pdp-gallery,
html body .ub-pdp__gallery{background:#fff!important;overflow:hidden!important;border-radius:22px!important}
html body .ub-pdp__hero img,
html body #ubHeroImg,
html body .ub-pdp__galleryCard img{object-fit:contain!important;object-position:center!important;background:#fff!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important}
html body .ub-thumbs{display:flex!important;gap:10px!important;overflow-x:auto!important;padding:10px 0 0!important}
html body .ub-thumb{background:#fff!important;border:1px solid var(--ub-b177-border)!important;border-radius:16px!important;min-width:72px!important;height:72px!important;overflow:hidden!important}
html body .ub-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important}

/* Teklif kartı logoları: favicon/kare ikon yerine geniş wordmark alanı. */
html body .ub-offer-v2__logoBox{min-width:204px!important;width:204px!important;max-width:204px!important;min-height:72px!important;padding:10px 14px!important;background:#fff!important;border:1px solid var(--ub-b177-border)!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-shadow:0 12px 32px rgba(15,23,42,.06)!important}
html body .ub-offer-v2__logoBox img{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}
html body .ub-offer-v2__logoFallback{width:64px!important;height:54px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#eff6ff!important;color:#1d4ed8!important;font-weight:950!important;font-size:22px!important}
html body .ub-offer-v2__providerLabel{font-weight:900!important;line-height:1.2!important;white-space:normal!important;max-width:100%!important}

/* Anasayfa mağaza kartları: generic ikon değil okunur geniş mağaza logosu. */
html body .ub-store-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:12px!important;align-items:stretch!important}
html body .ub-store-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:162px!important;padding:14px 12px!important;overflow:hidden!important;background:#fff!important}
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{width:132px!important;height:54px!important;max-width:132px!important;max-height:54px!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;background:#fff!important;padding:0!important;filter:none!important;opacity:1!important}
html body .ub-store-card picture,
html body .ub-store-card .ub-img-wrap{width:132px!important;height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid rgba(15,23,42,.06)!important;border-radius:16px!important;padding:6px!important}
html body .ub-store-name{text-align:center!important;font-weight:950!important;line-height:1.15!important;min-height:2.3em!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
html body .ub-store-meta{font-size:12px!important;line-height:1.25!important;text-align:center!important;color:#334155!important}

/* Benzer ürünler ve popüler ürünler: fiyat ve TL kesinlikle ellipsis'e düşmesin. */
html body .ub-carousel__track{overflow-x:auto!important;overflow-y:visible!important;align-items:stretch!important;padding-bottom:8px!important}
html body .ub-carousel__item,
html body .ub-pdp-popular-card{overflow:visible!important;min-width:224px!important;max-width:264px!important;border:1px solid rgba(15,23,42,.08)!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important}
html body .ub-carousel__item [style*="height:140px"],
html body .ub-pdp-popular-card [style*="height:110px"]{background:#fff!important;border:1px solid rgba(15,23,42,.06)!important;border-radius:18px!important;overflow:hidden!important}
html body .ub-carousel__item img,
html body .ub-pdp-popular-card img{background:#fff!important;object-fit:contain!important;object-position:center!important;filter:none!important;opacity:1!important}
html body .ub-carousel__item .ub-price-line,
html body .ub-pdp-popular-card .ub-price-line{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;width:100%!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{font-size:11px!important;font-weight:850!important;color:var(--ub-b177-muted)!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
html body .ub-carousel__item .ub-price-line__value,
html body .ub-pdp-popular-card .ub-price-line__value{display:block!important;width:max-content!important;max-width:100%!important;min-width:0!important;color:var(--ub-b177-price)!important;font-weight:1000!important;font-size:clamp(15px,1.5vw,18px)!important;letter-spacing:-.02em!important;line-height:1.15!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;word-break:keep-all!important;font-variant-numeric:tabular-nums!important}
html body .ub-pdp-popular-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(224px,264px))!important;gap:12px!important;align-items:stretch!important;overflow:visible!important}
html body .ub-prod-cta{width:100%!important;white-space:normal!important;text-align:center!important;justify-content:center!important;line-height:1.15!important}

@media (max-width:760px){
  html body .ub-offer-v2__logoBox{min-width:136px!important;width:148px!important;max-width:148px!important;min-height:58px!important;padding:8px 10px!important}
  html body .ub-offer-v2__logoBox img{width:128px!important;height:42px!important;max-width:128px!important;max-height:42px!important}
  html body .ub-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body .ub-store-card{min-height:150px!important;padding:12px 8px!important}
  html body .ub-store-card .ub-store-ico,
  html body .ub-store-card img.ub-store-ico{width:118px!important;height:48px!important;max-width:118px!important;max-height:48px!important}
  html body .ub-store-card picture,
  html body .ub-store-card .ub-img-wrap{width:118px!important;height:48px!important}
  html body .ub-pdp-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!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}
  html body .ub-carousel__item .ub-price-line__value,
  html body .ub-pdp-popular-card .ub-price-line__value{font-size:clamp(14px,4vw,16px)!important;max-width:100%!important}
  html body .ub-pdp{padding-top:8px!important}
  html body .ub-pdp__crumbs{margin-bottom:8px!important}
  html body .ub-pdp__title{font-size:clamp(30px,8.5vw,48px)!important;line-height:1.05!important;margin-bottom:8px!important}
  html body .ub-pdp__codes{margin-bottom:12px!important}
  html body .ub-pdp-topdock{margin-top:12px!important;position:static!important;top:auto!important;max-height:none!important;overflow:visible!important}
}
@media (max-width:420px){
  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}
  html body .ub-store-name{font-size:14px!important}
}
