
/* SORFPANEL Mobile UI V2 - Ürün Listeleme / Filtreleme | v1.2.3 */
.mobile-only-stock{display:none}
@media (max-width:767px){
  body.page-products{background:#f6f7f9!important;color:#171b24}
  body.page-products main{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  body.page-products .search-results-page{padding:0 0 18px!important;background:#f6f7f9!important}
  body.page-products .search-results-shell{padding:0 10px!important;max-width:none!important}

  /* compact mobile search bar */
  body.page-products .search-mobile-top{height:58px!important;margin:0 -10px!important;padding:0 10px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #eceef1!important;box-shadow:0 2px 9px rgba(15,23,42,.03)!important}
  body.page-products .search-back{width:34px;height:34px;border-radius:50%;background:#f6f7f9}
  body.page-products .search-back .sp-icon{width:17px;height:17px}
  body.page-products .search-mobile-query{height:39px!important;border:1px solid #e2e5e9!important;border-radius:11px!important;background:#f5f6f8!important;padding:0 10px!important;grid-template-columns:25px minmax(0,1fr)!important}
  body.page-products .search-mobile-query .sp-icon{width:16px!important;height:16px!important;color:#6d7580!important}
  body.page-products .search-mobile-query input{font-size:12px!important;color:#252a31!important;padding:0!important}

  /* title + result density */
  body.page-products .search-title-row{margin:10px 2px 7px!important}
  body.page-products .search-title-row h1{font-size:16px!important;line-height:1.22!important;letter-spacing:-.28px!important;font-weight:820!important;color:#191d24!important;margin:0 0 2px!important}
  body.page-products .search-title-row p{font-size:10px!important;color:#777e88!important;margin:0!important}
  body.page-products .v2-search-tabs{margin:0 -10px 5px!important;padding:0 10px!important;gap:18px!important;overflow-x:auto!important;background:#fff!important;border-bottom:1px solid #eceef1!important;scrollbar-width:none!important}
  body.page-products .v2-search-tabs::-webkit-scrollbar{display:none}
  body.page-products .v2-search-tabs a{flex:0 0 auto!important;padding:9px 0 8px!important;font-size:11px!important;font-weight:720!important;color:#707781!important;text-decoration:none!important;border-bottom:2px solid transparent!important}
  body.page-products .v2-search-tabs a.active{color:#f56600!important;border-color:#f56600!important;font-weight:820!important}
  body.page-products .v2-popular-searches{margin:6px 0!important;padding:8px!important;border-radius:10px!important;background:#fff!important;border:1px solid #eceef1!important}
  body.page-products .v2-popular-searches>strong{font-size:10px!important}
  body.page-products .v2-popular-searches a{font-size:9px!important}

  /* sticky action rail */
  body.page-products .search-mobile-actions{top:58px!important;z-index:28!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:0 -10px 8px!important;padding:7px 10px!important;border-bottom:1px solid #eceef1!important;box-shadow:0 4px 10px rgba(15,23,42,.035)!important}
  body.page-products .search-chip{height:35px!important;border:1px solid #dfe3e8!important;border-radius:9px!important;background:#fff!important;color:#343a43!important;font-size:10px!important;font-weight:760!important;text-decoration:none!important;white-space:nowrap!important}
  body.page-products .search-chip.is-active{border-color:#f56600!important;background:#fff7f1!important;color:#e95e00!important}
  body.page-products .search-chip .sp-icon{width:14px!important;height:14px!important}
  body.page-products .search-chip b{min-width:16px!important;height:16px!important;font-size:8px!important}

  /* category rails */
  body.page-products .catalog-subcategories{margin:0 -10px 8px!important;padding:3px 10px 8px!important;gap:9px!important;background:#fff!important}
  body.page-products .catalog-subcategories a{flex-basis:68px!important;gap:4px!important;font-size:9px!important}
  body.page-products .catalog-subcategories a span{width:47px!important;height:47px!important;font-size:17px!important;border-radius:13px!important;background:#fff5ed!important;border-color:#ffe3cf!important}
  body.page-products .catalog-active-filters{margin:0 -10px 7px!important;padding:5px 10px!important;background:#fff!important}
  body.page-products .catalog-active-filters a{height:27px!important;border-radius:14px!important;padding:0 9px!important;font-size:9px!important}

  /* real 2-column commerce grid */
  body.page-products .search-results-main{min-width:0!important}
  body.page-products .search-product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
  body.page-products .search-product-grid .sp-product-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:100%!important;border:1px solid #e4e7eb!important;border-radius:13px!important;background:#fff!important;box-shadow:0 2px 10px rgba(15,23,42,.035)!important;overflow:hidden!important}
  body.page-products .search-product-grid .sp-product-card__media{display:block!important;width:100%!important;aspect-ratio:1/1!important;min-height:0!important;padding:0!important;background:#fff!important;grid-column:auto!important;grid-row:auto!important;position:relative!important}
  body.page-products .search-product-grid .sp-product-card__image-link{display:block!important;width:100%!important;height:100%!important}
  body.page-products .search-product-grid .sp-product-card__image{width:100%!important;height:100%!important;object-fit:contain!important;padding:8px!important;background:#fff!important}
  body.page-products .search-product-grid .sp-product-card__cargo-badge{top:7px!important;left:7px!important;max-width:72%!important;padding:3px 6px!important;border-radius:6px!important;font-size:7px!important;line-height:1.05!important}
  body.page-products .search-product-grid .sp-product-card__discount{left:7px!important;top:7px!important;padding:3px 5px!important;font-size:7px!important;border-radius:6px!important}
  body.page-products .search-product-grid .sp-product-card__favorite-form{right:6px!important;top:6px!important}
  body.page-products .search-product-grid .sp-product-card__favorite{width:30px!important;height:30px!important;right:auto!important;top:auto!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;box-shadow:0 1px 7px rgba(15,23,42,.09)!important}
  body.page-products .search-product-grid .sp-product-card__favorite svg{width:17px!important;height:17px!important}
  body.page-products .search-product-grid .sp-product-card__content-link{display:block!important;flex:1!important;min-width:0!important;text-decoration:none!important;color:inherit!important;grid-column:auto!important}
  body.page-products .search-product-grid .sp-product-card__body{padding:7px 8px 4px!important;display:flex!important;flex-direction:column!important;min-height:109px!important}
  body.page-products .search-product-grid .sp-product-card__title{height:34px!important;min-height:34px!important;margin:0 0 4px!important;font-size:10.2px!important;line-height:1.34!important;font-weight:670!important;color:#1d2229!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body.page-products .search-product-grid .sp-product-card__title strong{font-weight:830!important}
  body.page-products .search-product-grid .sp-product-card__rating{min-height:14px!important;font-size:8px!important;gap:2px!important;color:#666e78!important}
  body.page-products .search-product-grid .sp-product-card__rating-score{font-size:8.5px!important;font-weight:760!important}
  body.page-products .search-product-grid .sp-product-card__rating-star{font-size:10px!important;color:#ffad00!important}
  body.page-products .search-product-grid .sp-product-card__rating small{font-size:7.5px!important}
  body.page-products .search-product-grid .sp-product-card__price{margin-top:4px!important;display:flex!important;align-items:baseline!important;gap:4px!important;flex-wrap:wrap!important}
  body.page-products .search-product-grid .sp-product-card__price strong{font-size:14.5px!important;line-height:1.1!important;font-weight:880!important;color:#f15d00!important;letter-spacing:-.2px!important}
  body.page-products .search-product-grid .sp-product-card__price del{font-size:7.5px!important;color:#9298a1!important}
  body.page-products .search-product-grid .sp-product-card__advantage{display:inline-flex!important;align-self:flex-start!important;margin-top:4px!important;padding:2px 5px!important;border-radius:5px!important;background:#fff5ed!important;color:#db5d09!important;font-size:6.8px!important;font-weight:800!important}
  body.page-products .mobile-only-stock{display:block!important;margin-top:4px!important;font-size:8px!important;line-height:1.1!important;font-weight:800!important}
  body.page-products .mobile-only-stock.in-stock{color:#15803d!important}
  body.page-products .mobile-only-stock.out-stock{color:#b42318!important}
  body.page-products .search-product-grid .sp-product-card__actions{display:block!important;padding:4px 7px 8px!important;grid-column:auto!important}
  body.page-products .search-product-grid .sp-product-card__actions form:first-child{width:100%!important}
  body.page-products .search-product-grid .sp-product-card__add{width:100%!important;height:31px!important;border-radius:8px!important;background:#f56600!important;border-color:#f56600!important;color:#fff!important;font-size:9px!important;font-weight:820!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}
  body.page-products .search-product-grid .sp-product-card__add .sp-icon{width:13px!important;height:13px!important}
  body.page-products .search-product-grid .sp-product-card__compare{display:none!important}

  /* full-height mobile filter sheet */
  body.page-products .search-filter-panel{display:none!important;position:fixed!important;inset:0!important;z-index:1600!important;max-height:none!important;border:0!important;border-radius:0!important;background:#f7f8fa!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  body.page-products .search-filter-panel.show,body.page-products .search-filter-panel.is-open{display:block!important}
  body.page-products .filter-panel-head{display:flex!important;position:sticky!important;top:0!important;z-index:5!important;height:55px!important;margin:0!important;padding:0 13px!important;background:#fff!important;border-bottom:1px solid #e8eaee!important;font-size:16px!important}
  body.page-products .filter-panel-head button{width:34px!important;height:34px!important;font-size:21px!important;background:#f3f4f6!important}
  body.page-products .search-filter-panel form{padding:0 12px calc(82px + env(safe-area-inset-bottom))!important}
  body.page-products .filter-block,body.page-products .filter-group{margin:8px 0!important;padding:12px!important;border:1px solid #e7e9ed!important;border-radius:12px!important;background:#fff!important}
  body.page-products .filter-block h3,body.page-products .filter-group summary{font-size:12px!important;font-weight:830!important;color:#252a31!important}
  body.page-products .check-option,body.page-products .radio-option{min-height:32px!important;font-size:11px!important}
  body.page-products .check-option input,body.page-products .radio-option input{width:17px!important;height:17px!important}
  body.page-products .filter-search,body.page-products .price-filter input{height:38px!important;border-radius:9px!important;font-size:11px!important}
  body.page-products .v2-size-filter{grid-template-columns:repeat(5,1fr)!important;gap:6px!important}
  body.page-products .v2-size-filter span{height:34px!important;border-radius:8px!important}
  body.page-products .v2-color-filter i{width:27px!important;height:27px!important}
  body.page-products .filter-actions{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:7!important;display:grid!important;grid-template-columns:minmax(0,1fr) 84px!important;gap:8px!important;margin:0!important;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e5e7eb!important;box-shadow:0 -5px 18px rgba(15,23,42,.07)!important}
  body.page-products .filter-actions .btn{height:42px!important;border-radius:9px!important;background:#f56600!important;border-color:#f56600!important;font-size:11px!important;font-weight:820!important}
  body.page-products .filter-actions .clear-filter{height:42px!important;display:grid!important;place-items:center!important;border:1px solid #e2e5e9!important;border-radius:9px!important;background:#fff!important;font-size:10px!important}

  body.page-products .catalog-pagination{margin:16px 0 5px!important;gap:4px!important}
  body.page-products .catalog-pagination a,body.page-products .catalog-pagination span{min-width:30px!important;height:30px!important;border-radius:8px!important;font-size:10px!important}
  body.page-products .search-empty{min-height:250px!important;margin:8px 0!important;border-radius:14px!important;padding:22px 18px!important;background:#fff!important}
}
@media (max-width:370px){
  body.page-products .search-product-grid{gap:6px!important}
  body.page-products .search-product-grid .sp-product-card__body{padding-left:7px!important;padding-right:7px!important}
  body.page-products .search-product-grid .sp-product-card__price strong{font-size:13.5px!important}
}
