/* IPEKERP_426_1_SEARCH_APPROVED_REDESIGN_V1
   Search-only presentation authority.
   No catalog/filter/stock/price/cart business rule mutation.
*/

/* Old result hero disappears. If a canonical vehicle is selected,
   the new compact vehicle strip is the only content in that area. */
body.sf-search-v2.sf426-approved-redesign .sf-search2-hero.sf426-search-hero-empty{
  display:none!important;
}
body.sf-search-v2.sf426-approved-redesign .sf-search2-hero.sf426-search-hero-vehicle{
  min-height:0!important;margin:0!important;padding:12px 0 14px!important;
  background:#f4f7fb!important;border:0!important;
}
body.sf-search-v2.sf426-approved-redesign
.sf-search2-hero.sf426-search-hero-vehicle>:not(.sf426-selected-vehicle){
  display:none!important;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle{
  width:min(1380px,calc(100% - 48px));min-height:86px;margin:0 auto;padding:14px 18px;
  display:flex;align-items:center;gap:14px;border:1px solid #dfe7f1;border-radius:14px;
  background:#fff;box-shadow:0 4px 16px rgba(15,39,71,.045);
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__icon{
  width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;
  border:1px solid #dce8f7;border-radius:13px;background:#f7faff;color:#0867d5;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__icon svg{width:30px;height:30px}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__icon--photo{
  width:76px;height:58px;flex-basis:76px;overflow:hidden;background:#f3f7fb;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__icon--photo img{
  width:72px;height:54px;display:block;object-fit:contain;object-position:center;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__fallback{
  width:100%;height:100%;place-items:center;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__fallback:not([hidden]){display:grid}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__copy{min-width:0;flex:1 1 auto}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__eyebrow{
  display:block;margin:0 0 3px;color:#697b91;font-size:11px;font-weight:800;line-height:1.2;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__title{
  display:block;margin:0;color:#0b2b52;font-size:18px;font-weight:900;line-height:1.25;
  letter-spacing:-.015em;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__meta{
  min-height:24px;margin-top:7px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__meta span{
  min-height:23px;padding:4px 8px;display:inline-flex;align-items:center;
  border:1px solid #e3eaf3;border-radius:7px;background:#f8fafc;color:#53657b;
  font-size:10px;font-weight:750;line-height:1;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__change{
  height:38px;flex:0 0 auto;padding:0 13px;display:inline-flex;align-items:center;gap:7px;
  border:1px solid #d6e3f3;border-radius:9px;background:#fff;color:#0968d5;
  font:inherit;font-size:11px;font-weight:850;cursor:pointer;
}
body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__change:hover{
  border-color:#a9c9ec;background:#f7fbff;
}

/* Results workspace stays compact; filtering itself is untouched. */
body.sf-search-v2.sf426-approved-redesign #urunler{padding-top:10px!important}
body.sf-search-v2.sf426-approved-redesign #urunler .sf2-catalog-layout{align-items:start!important}
body.sf-search-v2.sf426-approved-redesign #urunler .sf2-results-toolbar{
  min-height:46px!important;margin-bottom:8px!important;padding-top:0!important;
  padding-bottom:7px!important;gap:10px!important;
}
@media(min-width:1500px){
  body.sf-search-v2.sf426-approved-redesign #urunler .sf2-catalog-layout{
    grid-template-columns:230px minmax(0,1fr)!important;gap:14px!important;
  }
  body.sf-search-v2.sf426-approved-redesign #urunler aside.sf2-filter-panel{
    width:230px!important;min-width:230px!important;max-width:230px!important;
  }
  body.sf-search-v2.sf426-approved-redesign.sf5-view-grid #urunler #storefront-product-grid{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;align-content:start!important;gap:12px!important;
    width:100%!important;overflow:visible!important;
  }
}
@media(min-width:1280px) and (max-width:1499px){
  body.sf-search-v2.sf426-approved-redesign.sf5-view-grid #urunler #storefront-product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
  }
}
@media(min-width:981px) and (max-width:1279px){
  body.sf-search-v2.sf426-approved-redesign.sf5-view-grid #urunler #storefront-product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
  }
}
@media(min-width:641px) and (max-width:980px){
  body.sf-search-v2.sf426-approved-redesign.sf5-view-grid #urunler #storefront-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
  }
}
@media(max-width:640px){
  body.sf-search-v2.sf426-approved-redesign.sf5-view-grid #urunler #storefront-product-grid{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  }
}

/* Approved compact card. */
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card{
  min-width:0!important;min-height:0!important;height:auto!important;align-self:stretch!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border:1px solid #dde5ee!important;border-radius:12px!important;background:#fff!important;
  box-shadow:0 2px 9px rgba(17,43,76,.035)!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card:hover{
  border-color:#cbd9e8!important;box-shadow:0 6px 18px rgba(17,43,76,.075)!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__brand{
  height:40px!important;min-height:40px!important;max-height:40px!important;
  margin:0!important;padding:7px 12px 0!important;display:flex!important;
  align-items:flex-start!important;justify-content:flex-start!important;
}
/* Existing canonical optical logo is preserved; only its visual placement changes. */
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .ipek-brand-optical-stage{
  top:11px!important;left:16px!important;transform:scale(.86)!important;
  transform-origin:left top!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card>.sf-product-card__favorite{
  top:9px!important;right:9px!important;width:32px!important;height:32px!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__image{
  width:100%!important;height:184px!important;min-height:184px!important;max-height:184px!important;
  margin:0!important;padding:0!important;aspect-ratio:auto!important;overflow:hidden!important;
  display:grid!important;place-items:center!important;border:0!important;background:#fff!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__image>img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  padding:6px 10px 4px!important;object-fit:contain!important;object-position:center!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__link{
  min-height:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__body{
  min-height:0!important;flex:1 1 auto!important;padding:9px 12px 8px!important;
  display:flex!important;flex-direction:column!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__meta{
  min-height:24px!important;margin:0 0 7px!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:7px!important;border:0!important;font-size:9px!important;line-height:1!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__meta>span:first-child{
  min-width:0!important;color:#f21825!important;font-weight:900!important;
  letter-spacing:.02em!important;text-transform:uppercase!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__meta>span:last-child{
  flex:0 0 auto!important;min-height:22px!important;padding:4px 7px!important;
  display:inline-flex!important;align-items:center!important;border:0!important;border-radius:7px!important;
  background:#f1f4f8!important;color:#536176!important;font-size:9px!important;font-weight:850!important;
  letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__body h2,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__body h3{
  min-height:53px!important;max-height:53px!important;margin:0!important;overflow:hidden!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;
  color:#082a55!important;font-size:13px!important;font-weight:850!important;line-height:1.35!important;
}
body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid>.sf-product-card .sf-vat-label{display:none!important}

/* Final stock rule: no separate green dot/text anywhere on search cards. */
body.sf-search-v2.sf426-approved-redesign #storefront-product-grid>.sf-product-card .sf-stock,
body.sf-search-v2.sf426-approved-redesign #storefront-product-grid>.sf-product-card .sf-product-card__stock,
body.sf-search-v2.sf426-approved-redesign #storefront-product-grid>.sf-product-card .sf-stock-badge,
body.sf-search-v2.sf426-approved-redesign #storefront-product-grid>.sf-product-card .sf42112-stock-badge,
body.sf-search-v2.sf426-approved-redesign #storefront-product-grid>.sf-product-card [data-sf42112-stock-state]{
  display:none!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__commerce{
  min-height:36px!important;margin-top:auto!important;padding-top:10px!important;
  display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card .sf-product-card__price{
  color:#082a55!important;font-size:18px!important;font-weight:950!important;line-height:1.1!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card>.sf-product-card__actions{
  min-height:54px!important;margin:0!important;padding:4px 12px 12px!important;display:block!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid>.sf-product-card>.sf-product-card__actions
>:not(.sf-cart-add-button):not(.sf426-stock-out){
  display:none!important;
}
body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid>.sf-product-card .sf-cart-add-button:not(.sf426-stock-out){
  width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;
  margin:0!important;padding:0 12px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;border:1px solid #f21825!important;border-radius:8px!important;
  background:#f21825!important;color:#fff!important;box-shadow:none!important;
  font-size:11px!important;font-weight:900!important;line-height:1!important;
}
body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid>.sf-product-card .sf-cart-add-button:not(.sf426-stock-out):hover{
  border-color:#d90f1b!important;background:#d90f1b!important;
}
body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid>.sf-product-card .sf426-stock-out{
  width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;
  margin:0!important;padding:0 12px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;border:1px solid #e1e6ec!important;border-radius:8px!important;
  background:#eef1f5!important;color:#758295!important;box-shadow:none!important;
  font-size:11px!important;font-weight:850!important;line-height:1!important;
  cursor:not-allowed!important;opacity:1!important;
}
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid .sf4219-list-only{display:none!important}

@media(max-width:760px){
  body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle{
    width:calc(100% - 24px);min-height:0;padding:12px;align-items:flex-start;flex-wrap:wrap;
  }
  body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__icon{
    width:46px;height:46px;flex-basis:46px;
  }
  body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__title{font-size:15px}
  body.sf-search-v2.sf426-approved-redesign .sf426-selected-vehicle__change{
    width:100%;justify-content:center;
  }
}

/* IPEKERP_426_1_6_1_SEARCH_CARD_PRICE_TO_BUTTON_GAP_TUNE_V1_1_BEGIN */
/*
  Narrow visual correction only:
  - keep product title geometry untouched;
  - keep price anchored toward card bottom;
  - reduce only the vertical air between price and CTA;
  - no image, stock, filter, price, cart or data-rule mutation.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body {
  padding-bottom: 2px !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce {
  min-height: 25px !important;
  margin-top: auto !important;
  padding-top: 3px !important;
  padding-bottom: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions {
  min-height: 44px !important;
  padding: 0 12px 8px !important;
}

body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid > .sf-product-card .sf-cart-add-button:not(.sf426-stock-out),
body.sf-search-v2.sf426-approved-redesign
#storefront-product-grid > .sf-product-card .sf426-stock-out {
  height: 36px !important;
  min-height: 36px !important;
}
/* IPEKERP_426_1_6_1_SEARCH_CARD_PRICE_TO_BUTTON_GAP_TUNE_V1_1_END */

/* IPEKERP_426_1_8_1_SEARCH_CARD_PRICE_REMAINING_SPACE_CENTER_V1_1_BEGIN */
/*
  Narrow visual correction only:
  - preserve the already-approved compact gap;
  - let commerce fill the remaining body space;
  - vertically center the price inside that space;
  - do not touch title/image/grid/stock/cart business logic.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce {
  flex: 1 1 auto !important;
  min-height: 34px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__price {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions {
  min-height: 44px !important;
  padding: 0 12px 8px !important;
}
/* IPEKERP_426_1_8_1_SEARCH_CARD_PRICE_REMAINING_SPACE_CENTER_V1_1_END */

/* IPEKERP_426_1_10_SEARCH_CARD_EQUAL_TITLE_PRICE_BUTTON_SPACING_V1_BEGIN */
/*
  Goal:
  Make the title->price distance and price->button distance visually equal.

  Strategy:
  - promote the card into a vertical flex layout;
  - let .sf-product-card__body become a vertical flex column;
  - let .sf-product-card__commerce occupy the remaining body space;
  - vertically center the price inside that remaining space;
  - keep images, 5-column layout, stock UI and cart behavior untouched.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card{
  display:flex !important;
  flex-direction:column !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  padding-bottom:0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body h2,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body h3{
  margin-bottom:0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce{
  flex:1 1 auto !important;
  min-height:38px !important;
  margin-top:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions{
  margin-top:0 !important;
  min-height:44px !important;
  padding:0 12px 8px !important;
}
/* IPEKERP_426_1_10_SEARCH_CARD_EQUAL_TITLE_PRICE_BUTTON_SPACING_V1_END */

/* IPEKERP_426_1_14_SEARCH_CARD_FIXED_PRICE_SLOT_EQUAL_SPACING_V1_BEGIN */
/*
  Final spacing model:
  - no transform;
  - no runtime geometry calculation;
  - a real fixed price slot sits directly between title box and CTA;
  - price is vertically centered inside that slot.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__link {
  flex: 0 0 auto !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body {
  flex: 0 0 auto !important;
  padding-bottom: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body h2,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__body h3 {
  margin-bottom: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce {
  flex: 0 0 44px !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__price {
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  line-height: 1 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions {
  flex: 0 0 auto !important;
  margin: 0 !important;
  min-height: 44px !important;
  padding: 0 12px 8px !important;
}
/* IPEKERP_426_1_14_SEARCH_CARD_FIXED_PRICE_SLOT_EQUAL_SPACING_V1_END */

/* IPEKERP_426_1_14_1_SEARCH_CARD_PRICE_SLOT_FLEX_AXIS_FIX_V1_1_BEGIN */
/*
  Root cause from live 426.1.15:
  commerceHeight=44px but titleToPrice=0px.
  Therefore align-items:center was not acting on the vertical axis.

  Force the price slot to ROW flex so align-items:center is vertical.
  Also zero any card/link gap around the slot. No transforms.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card {
  gap: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__link {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__price {
  margin: 0 !important;
  transform: none !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions {
  margin-top: 0 !important;
  padding-top: 0 !important;
  gap: 0 !important;
}
/* IPEKERP_426_1_14_1_SEARCH_CARD_PRICE_SLOT_FLEX_AXIS_FIX_V1_1_END */

/* IPEKERP_426_1_17_SEARCH_CARD_PRICE_ALIGN_SELF_AND_ACTION_SEAM_V1_BEGIN */
/*
  Root cause proven by 426.1.16 live geometry:
  - commerce is flex-row + align-items:center;
  - BUT .sf-price has align-self:flex-start, which overrides parent centering;
  - commerce bottom -> actions top has a 1px seam.

  Fix:
  1) force price align-self:center;
  2) close the 1px seam with margin-top:-1px on actions;
  3) add that 1px back to actions bottom padding so total card height stays stable.

  Presentation only. No price/stock/cart/filter/image data or behavior changes.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce > .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce > .sf-product-card__price {
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
}

body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card > .sf-product-card__actions {
  margin-top: -1px !important;
  padding: 0 12px 9px !important;
}
/* IPEKERP_426_1_17_SEARCH_CARD_PRICE_ALIGN_SELF_AND_ACTION_SEAM_V1_END */

/* IPEKERP_426_1_19_SEARCH_CARD_PRICE_TEXT_BOX_HEIGHT_V1_BEGIN */
/*
  Root cause proven after 426.1.18:
  The .sf-price ELEMENT box is 38px tall while its visible text line is ~18px.
  426.1.18 centered the 38px element box correctly, but the text itself
  remains visually near the top of that box. Therefore the UI still looks
  top-heavy even though element-box measurements read 3px / 3px.

  Final correction:
  - remove artificial 38px height/min-height from the price element;
  - let the price element shrink to its real one-line text height;
  - keep it centered inside the existing 44px price slot.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce > .sf-price,
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card .sf-product-card__commerce > .sf-product-card__price {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 18px !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
/* IPEKERP_426_1_19_SEARCH_CARD_PRICE_TEXT_BOX_HEIGHT_V1_END */

/* IPEKERP_426_1_21_REMOVE_DUPLICATE_SELECTED_FILTERS_SIDEBAR_V1_BEGIN */
/*
  Remove only the duplicate "Seçili filtreler" summary injected inside
  the left filter panel. Marka, Ürün Türü etc. stay. Top active chips stay.
*/
body.sf-search-v2.sf426-approved-redesign
#urunler .sf2-filter-panel .sf420-selected {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* IPEKERP_426_1_21_REMOVE_DUPLICATE_SELECTED_FILTERS_SIDEBAR_V1_END */

/* IPEKERP_426_1_28_PRODUCT_FAMILY_EXACT_RUNTIME_HIDE_V1_BEGIN */
/*
  Exact DOM contract proven by 426.1.26.1:
  <div class="sf2-filter-group sf420-family-group ...">
  contains <select id="sf2-family">.

  Runtime also writes inline style="display: block !important".
  Therefore JS writes display:none with inline !important to the exact group.
*/
body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf420-family-group[data-ipek-426128-hidden="1"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
/* IPEKERP_426_1_28_PRODUCT_FAMILY_EXACT_RUNTIME_HIDE_V1_END */

/* IPEKERP_426_1_30_PRICE_FILTER_NATIVE_DUAL_BOUND_HANDLES_V1_BEGIN */
/*
  Exact DOM proven by 426.1.29:
    section.sf5-price-group
      div.sf5-price-track
        input[type=range][data-sf5-min-range]
        input[type=range][data-sf5-max-range]

  Both real range controls already exist and already drive the filter.
  This patch only makes BOTH native bound handles visibly usable.
*/
body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track {
  position: relative !important;
  width: 100% !important;
  height: 22px !important;
  margin-top: 7px !important;
  overflow: visible !important;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: #d9e4f2;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-min-range],
body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-max-range] {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
  overflow: visible !important;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-min-range] {
  z-index: 3 !important;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-max-range] {
  z-index: 4 !important;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-min-range]:focus,
body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"][data-sf5-max-range]:focus {
  z-index: 6 !important;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 2px solid #1677ff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
  cursor: pointer;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"]::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

body.sf-search-v2.sf426-approved-redesign
#sf2-filter-panel .sf5-price-group .sf5-price-track
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #1677ff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
  cursor: pointer;
}
/* IPEKERP_426_1_30_PRICE_FILTER_NATIVE_DUAL_BOUND_HANDLES_V1_END */

/* IPEKERP_426_1_33_FILTERED_PRODUCT_CARD_VISIBILITY_V1_BEGIN */
/*
  Root cause proven by 426.1.32:
  the filter engine correctly writes inline "display: none" to non-matching
  product cards, but the approved redesign forces every grid card to
  "display:flex !important", overriding that runtime hide signal.

  Preserve the redesigned flex layout for normal cards, but give the
  filter engine runtime inline hide marker precedence when it is present.
*/
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card[style*="display: none"],
body.sf-search-v2.sf426-approved-redesign.sf5-view-grid
#storefront-product-grid > .sf-product-card[style*="display:none"] {
  display: none !important;
}
/* IPEKERP_426_1_33_FILTERED_PRODUCT_CARD_VISIBILITY_V1_END */

/* IPEKERP_426_1_39_REMOVE_SEARCH_PAGE_BACKDROP_V1_BEGIN */
/*
  User target: the light-gray PAGE BACKDROP visible behind the search
  results/filter surface.

  Do not widen or move the results shell. Keep its natural approved width.
*/
body.sf-search-v2.sf426-approved-redesign {
  background: #fff !important;
  background-image: none !important;
}

body.sf-search-v2.sf426-approved-redesign
[data-ipekerp-search-backdrop-white="1"] {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
}
/* IPEKERP_426_1_39_REMOVE_SEARCH_PAGE_BACKDROP_V1_END */

/* IPEKERP_426_1_42_REMOVE_REDUNDANT_RESULTS_OUTER_BOX_V1_BEGIN */
/*
  Exact 426.1.41 diagnosis:
  - section#urunler owns the redundant outer 1px rounded border.
  - .sf2-catalog-ui adds a 10px top margin and light-gray surface behind
    the real filter panel / results toolbar.
  - The filter panel and results toolbar already have their own intended
    borders, so the outer shell chrome is redundant.

  Remove only that outer shell chrome and top spacer.
*/
body.sf-search-v2.sf426-approved-redesign
section#urunler.sf-search2-results {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.sf-search-v2.sf426-approved-redesign
section#urunler.sf-search2-results > .sf2-catalog-ui {
  margin-top: 0 !important;
  background: transparent !important;
}
/* IPEKERP_426_1_42_REMOVE_REDUNDANT_RESULTS_OUTER_BOX_V1_END */
