/* iPhone only: style jest aktywny dopiero po dodaniu klasy przez JS. */
@media screen and (max-width: 650px) {
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-select > i,
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-select > svg {
    display:none!important;
    visibility:hidden!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-select > select {
    display:block!important;
    position:relative!important;
    left:auto!important;
    width:100%!important;
    min-width:0!important;
    height:54px!important;
    padding:0 38px 0 16px!important;
    text-indent:0!important;
    font-size:16px!important;
    border:1px solid #d3dfeb!important;
    border-radius:10px!important;
    background-color:#fff!important;
    color:#3b4e67!important;
    box-sizing:border-box!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-price-field.hp-ttmarket-ios-price {
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 20px minmax(0,1fr)!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-price-field.hp-ttmarket-ios-price > input {
    min-width:0!important;
    width:100%!important;
    padding:0 5px!important;
    box-sizing:border-box!important;
  }
  /* iPhone Safari: pełnowymiarowa warstwa wizualna + natywny picker nad nią.
     Użytkownik naciska prawdziwy input date, więc filtry działają bez zmian. */
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-date {
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:54px!important;
    border:1px solid #d3dfeb!important;
    border-radius:10px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-date > i {
    display:block!important;
    left:17px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    font-size:17px!important;
    z-index:1!important;
    pointer-events:none!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .hp-ttmarket-date-display {
    display:flex!important;
    align-items:center!important;
    position:absolute!important;
    inset:0!important;
    padding:0 42px 0 50px!important;
    font:400 16px Poppins,Arial,sans-serif!important;
    color:#3b4e67!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    pointer-events:none!important;
    z-index:1!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .hp-ttmarket-date-display.hp-ttmarket-date-empty {
    color:#94a3b8!important;
  }
  html.hp-ttmarket-ios body .ttm#tt-marketplace .ttm-filters:not(.ttm-filters--stables) .ttm-field.hp-ttmarket-ios-date > input[type="date"] {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    opacity:0.01!important;
    z-index:2!important;
    cursor:pointer!important;
    font-size:16px!important;
    box-sizing:border-box!important;
    -webkit-appearance:auto!important;
    appearance:auto!important;
  }
}
