/* IPEKERP_STOREFRONT_BRAND_LOGO_SYSTEM_V1:BEGIN */

body.sf-home-concept[data-c5-live-home]
#urunler .sf-product-card__brand
.ipek-brand-logo {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:30px !important;
  object-fit:contain !important;
  object-position:left center !important;
  flex:0 0 auto !important;
}

body.sf-home-concept[data-c5-live-home]
.c5-stage7-brand-card
.c5-stage7-brand-card__logo
.ipek-brand-logo {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:128px !important;
  max-height:38px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin-inline:auto !important;
  flex:0 0 auto !important;
}

/*
  Brembo asset is the verified official SVG already downloaded by 417.10.
  It renders as a white variant on a white card. Keep the exact asset and
  tint its rendered pixels to Brembo red via CSS filter.
*/
body.sf-home-concept[data-c5-live-home]
.ipek-brand-logo[data-ipek-brand-logo="BREMBO"] {
  filter:
    brightness(0)
    saturate(100%)
    invert(18%)
    sepia(91%)
    saturate(3606%)
    hue-rotate(348deg)
    brightness(90%)
    contrast(94%) !important;
}

body.sf-home-concept[data-c5-live-home]
#urunler .sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="BREMBO"] {
  max-width:92px !important;
  max-height:26px !important;
}

/* SKF content already fills the source PNG; issue is optical size, not crop. */
body.sf-home-concept[data-c5-live-home]
#urunler .sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="SKF"] {
  max-width:108px !important;
  max-height:28px !important;
}

body.sf-home-concept[data-c5-live-home]
.c5-stage7-brand-card
.c5-stage7-brand-card__logo
.ipek-brand-logo[data-ipek-brand-logo="SKF"] {
  max-width:132px !important;
  max-height:36px !important;
}

/* Purflux derived official crop can now be shown a bit larger as well. */
body.sf-home-concept[data-c5-live-home]
#urunler .sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="PURFLUX"] {
  max-width:110px !important;
  max-height:30px !important;
}

body.sf-home-concept[data-c5-live-home]
.c5-stage7-brand-card
.c5-stage7-brand-card__logo
.ipek-brand-logo[data-ipek-brand-logo="PURFLUX"] {
  max-width:138px !important;
  max-height:38px !important;
}

/* IPEKERP_STOREFRONT_BRAND_LOGO_SYSTEM_V1:END */

/* IPEKERP_STOREFRONT_BRANDS_SHARED_LOGO_CLIENT_V1:BEGIN */
.sfb-brand-card[data-ipek-brand-logo-ready="1"] .sfb-brand-card__visual {
  box-sizing: border-box;
  width: 96px;
  min-width: 96px;
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"] .sfb-brand-card__visual > .ipek-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 88px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"]
  .sfb-brand-card__visual
  > .ipek-brand-logo[data-ipek-brand-logo="PURFLUX"] {
  max-width: 90px;
  max-height: 32px;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"]
  .sfb-brand-card__visual
  > .ipek-brand-logo[data-ipek-brand-logo="FILTRON"] {
  max-width: 90px;
  max-height: 30px;
}
/* IPEKERP_STOREFRONT_BRANDS_SHARED_LOGO_CLIENT_V1:END */

/* IPEKERP_SELENIA_WOIL_WUNDER_LOGO_OPTICAL_V1_3:BEGIN */
.c5-stage7-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="SELENIA"],
.sfb-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="SELENIA"] {
  max-width: 96px;
  max-height: 34px;
}
.c5-stage7-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="WOIL"],
.sfb-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="WOIL"] {
  max-width: 96px;
  max-height: 34px;
}
.c5-stage7-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="WUNDER"],
.sfb-brand-card[data-ipek-brand-logo-ready="1"] .ipek-brand-logo[data-ipek-brand-logo="WUNDER"] {
  max-width: 100px;
  max-height: 36px;
}
/* IPEKERP_SELENIA_WOIL_WUNDER_LOGO_OPTICAL_V1_3:END */

/* IPEKERP_BRANDS_PAGE_SELENIA_WOIL_OPTICAL_SCALE_V1:BEGIN */
.sfb-brand-card[data-ipek-brand-logo-ready="1"]
  .sfb-brand-card__visual
  > .ipek-brand-logo[data-ipek-brand-logo="SELENIA"] {
  display: block !important;
  width: 84px !important;
  height: auto !important;
  max-width: 84px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"]
  .sfb-brand-card__visual
  > .ipek-brand-logo[data-ipek-brand-logo="WOIL"] {
  display: block !important;
  width: 90px !important;
  height: auto !important;
  max-width: 90px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}
/* IPEKERP_BRANDS_PAGE_SELENIA_WOIL_OPTICAL_SCALE_V1:END */

/* IPEKERP_BRAND_CARD_LOGO_TEXT_OVERLAP_FIX_V1:BEGIN */
.sfb-brand-card[data-ipek-brand-logo-ready="1"] {
  grid-template-columns: 96px minmax(0, 1fr) 22px !important;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"] .sfb-brand-card__visual {
  box-sizing: border-box !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"] .sfb-brand-card__visual > .ipek-brand-logo {
  box-sizing: border-box !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

.sfb-brand-card[data-ipek-brand-logo-ready="1"] .sfb-brand-card__copy {
  min-width: 0 !important;
}
/* IPEKERP_BRAND_CARD_LOGO_TEXT_OVERLAP_FIX_V1:END */

/* IPEKERP_SEARCH_SHARED_PRODUCT_CARD_LOGOS_V1:BEGIN */
body.sf-search-v2.sf-stage5-search-v1
#storefront-product-grid
.sf-product-card__brand
.ipek-brand-logo {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:112px !important;
  max-height:30px !important;
  object-fit:contain !important;
  object-position:left top !important;
  flex:0 0 auto !important;
  margin:0 !important;
}

body.sf-search-v2.sf-stage5-search-v1
#storefront-product-grid
.sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="BREMBO"] {
  max-width:92px !important;
  max-height:26px !important;
}

body.sf-search-v2.sf-stage5-search-v1
#storefront-product-grid
.sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="SKF"] {
  max-width:108px !important;
  max-height:28px !important;
}

body.sf-search-v2.sf-stage5-search-v1
#storefront-product-grid
.sf-product-card__brand
.ipek-brand-logo[data-ipek-brand-logo="PURFLUX"] {
  max-width:110px !important;
  max-height:30px !important;
}
/* IPEKERP_SEARCH_SHARED_PRODUCT_CARD_LOGOS_V1:END */
