/* Ucuzabulan B179 final visual/mobile/store layout guard
   Amaç: Kullanıcının ekran görüntülerinde işaretlediği kalan hataları runtime CSS ile ezmek.
   - Mobil karşılaştırma ve market kartlarında fiyat/TL/kargo kırpılmasını engeller.
   - PDP/benzer/popüler ürün fiyat satırlarını tek parça ve görünür tutar.
   - Pazaryeri mağaza logolarını favicon gibi değil geniş wordmark alanında gösterir.
*/
html body .ub-price-line,
html body .ub-price-line__value,
html body .price,
html body .ub-mkt-card__price,
html body .ub-prod-price,
html body .ub-card-price{
  max-width:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
}
html body .ub-price-line__currency,
html body .ub-price-line .currency,
html body .ub-mkt-card__price small,
html body .ub-mkt-card__price span{
  display:inline!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
}
html body .ub-pdp-offer-row,
html body .ub-offer-row,
html body .offer-row{
  min-width:0!important;
  overflow:visible!important;
}
html body .ub-pdp-offer-row__seller,
html body .offer-seller,
html body .ub-offer-seller{
  min-width:180px!important;
}
html body .ub-pdp-offer-row img[src*="marketplace_logo.php"],
html body .offer-row img[src*="marketplace_logo.php"],
html body .ub-offer-row img[src*="marketplace_logo.php"],
html body .ub-store-card img[src*="marketplace_logo.php"],
html body .store-card img[src*="marketplace_logo.php"]{
  width:auto!important;
  min-width:118px!important;
  max-width:184px!important;
  height:44px!important;
  max-height:48px!important;
  object-fit:contain!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
  box-shadow:none!important;
}
html body .ub-store-ico,
html body .store-logo,
html body .ub-store-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:128px!important;
  min-height:58px!important;
  overflow:visible!important;
  background:#fff!important;
}
html body .ub-store-name,
html body .store-name{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  word-break:normal!important;
}
html body .ub-pdp__hero,
html body .pdp-hero,
html body .product-hero{
  background:#fff!important;
}
html body .ub-pdp__hero::before,
html body .ub-pdp__hero::after,
html body .pdp-hero::before,
html body .pdp-hero::after{
  pointer-events:none!important;
}
html body .ub-pdp__hero img,
html body .pdp-hero img,
html body .product-hero img,
html body .ub-similar-card img,
html body .ub-pdp-popular-card img{
  object-fit:contain!important;
  background:#fff!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  opacity:1!important;
}
html body .ub-similar-card,
html body .ub-pdp-popular-card,
html body .ub-prod-card,
html body .ub-mkt-card{
  min-width:0!important;
  overflow:visible!important;
}
html body .ub-similar-card .ub-price-line,
html body .ub-pdp-popular-card .ub-price-line,
html body .ub-prod-card .ub-price-line{
  display:flex!important;
  align-items:baseline!important;
  gap:4px!important;
  flex-wrap:nowrap!important;
}
html body .ub-similar-card .ub-price-line__value,
html body .ub-pdp-popular-card .ub-price-line__value,
html body .ub-prod-card .ub-price-line__value{
  font-size:clamp(16px,2.2vw,22px)!important;
  line-height:1.08!important;
}
html body .ub-compare-pair-card,
html body .ub-compare-pair-card *,
html body .ub-compare-side,
html body .ub-compare-side *{
  box-sizing:border-box!important;
  min-width:0!important;
}
html body .ub-compare-side .badge,
html body .ub-compare-side .badge-ok,
html body .ub-compare-side .badge-free,
html body .ub-compare-side [class*="badge"]{
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:balance;
}
html body .ub-mkt-card,
html body .ub-mkt-card *,
html body .ub-market-card,
html body .ub-market-card *{
  box-sizing:border-box!important;
  min-width:0!important;
}
html body .ub-mkt-card__price{
  display:flex!important;
  align-items:baseline!important;
  gap:4px!important;
  flex-wrap:nowrap!important;
  line-height:1.05!important;
}
html body .ub-mkt-card__tags,
html body .ub-mkt-tags,
html body .ub-mkt-card__meta,
html body .ub-market-card__tags{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}
html body .ub-mkt-tag,
html body .ub-market-tag,
html body .ub-mkt-card [class*="tag"],
html body .ub-mkt-card [class*="badge"]{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-height:1.15!important;
}
@media (max-width: 760px){
  html body .ub-home2 .ub-compare-pair-grid,
  html body .ub-compare-pair-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  html body .ub-compare-pair-card{
    padding:12px!important;
    border-radius:18px!important;
  }
  html body .ub-compare-pair-card__products,
  html body .ub-compare-pair-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body .ub-compare-side{
    padding:8px!important;
    gap:7px!important;
    overflow:visible!important;
  }
  html body .ub-compare-side__img{
    height:96px!important;
    max-height:104px!important;
    object-fit:contain!important;
    background:#fff!important;
  }
  html body .ub-compare-side__title{
    font-size:12px!important;
    line-height:1.18!important;
    min-height:34px!important;
    max-height:42px!important;
    overflow:hidden!important;
  }
  html body .ub-compare-side .badge,
  html body .ub-compare-side [class*="badge"]{
    width:100%!important;
    min-height:32px!important;
    padding:5px 6px!important;
    border-radius:11px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:11px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
  html body .ub-compare-side .badge-ok,
  html body .ub-compare-side .badge-free{
    white-space:normal!important;
  }
  html body .ub-similar-grid,
  html body .ub-pdp-popular-grid,
  html body .ub-prod-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}
@media (max-width: 640px){
  html body .grid-prod--market,
  html body .ub-market-grid,
  html body .ub-mkt-grid,
  html body .market-products-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  html body .ub-mkt-card{
    padding:12px!important;
    border-radius:18px!important;
  }
  html body .ub-mkt-card__main,
  html body .ub-market-card__main{
    display:grid!important;
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
  }
  html body .ub-mkt-card__img,
  html body .ub-market-card__img{
    width:112px!important;
    height:112px!important;
    flex-basis:112px!important;
    object-fit:contain!important;
    background:#fff!important;
  }
  html body .ub-mkt-card__title,
  html body .ub-market-card__title{
    font-size:14px!important;
    line-height:1.22!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
  }
  html body .ub-mkt-card__price{
    font-size:22px!important;
  }
}
@media (max-width: 420px){
  html body .ub-mkt-card__main,
  html body .ub-market-card__main{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:10px!important;
  }
  html body .ub-mkt-card__img,
  html body .ub-market-card__img{
    width:104px!important;
    height:104px!important;
    flex-basis:104px!important;
  }
  html body .ub-mkt-tag,
  html body .ub-market-tag,
  html body .ub-mkt-card [class*="tag"],
  html body .ub-mkt-card [class*="badge"]{
    font-size:11px!important;
    padding:5px 8px!important;
  }
  html body .ub-similar-grid,
  html body .ub-pdp-popular-grid,
  html body .ub-prod-grid{
    grid-template-columns:1fr!important;
  }
}
