/* 17.5: homepage mobile only; no changes to product or parts scripts. */
@media(max-width:740px){
 #yb-wyposazenie-13 .yb13-mobile-hint,
 #yb-finval-14 .yb14-hint{display:flex;align-items:center;justify-content:center;gap:8px;line-height:1.4;}
 #yb-wyposazenie-13 .yb13-mobile-hint::before,
 #yb-finval-14 .yb14-hint::before,
 #yb-wyposazenie-13 .yb13-mobile-hint::after,
 #yb-finval-14 .yb14-hint::after{content:"";display:block;width:6px;height:6px;box-sizing:border-box;border-top:1.5px solid #102846;border-right:1.5px solid #102846;flex:none;}
 #yb-wyposazenie-13 .yb13-mobile-hint::before,#yb-finval-14 .yb14-hint::before{transform:rotate(-135deg);}
 #yb-wyposazenie-13 .yb13-mobile-hint::after,#yb-finval-14 .yb14-hint::after{transform:rotate(45deg);}
 #content.page-home .yb15-shell.yb15-outer{width:calc(100vw - 18px)!important;max-width:none!important;left:50%!important;transform:translateX(-50%)!important;margin:10px 0 18px!important;}
 #content.page-home .widget-partssearch__form.yb15-ready{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(5,auto)!important;align-items:start!important;align-content:start!important;gap:8px 0!important;min-height:0!important;}
 #content.page-home .yb15-ready > .yb15-intro{grid-row:1;grid-column:1;padding:12px 14px!important;gap:4px!important;}
 #content.page-home .yb15-ready .yb15-title{font-size:20px!important;line-height:1.15!important;}
 #content.page-home .yb15-ready .yb15-visual{display:none!important;}
 #content.page-home .yb15-ready > .yb15-lead{grid-row:2;grid-column:1;margin:2px 11px 0!important;font-size:12px!important;line-height:1.35!important;align-self:start!important;}
 #content.page-home .widget-partssearch__form.yb15-ready > .search-parameters,
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters-type{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;justify-content:stretch!important;align-items:stretch!important;}
 #content.page-home .widget-partssearch__form.yb15-ready > .search-parameters{grid-column:1;grid-row:3;margin:0 11px!important;}
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters-type{margin:0!important;}
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters label,
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters-type label{box-sizing:border-box;min-width:0!important;width:100%!important;max-width:none!important;justify-content:center!important;min-height:36px!important;height:auto!important;padding:6px 5px!important;gap:5px!important;font-size:11.5px!important;line-height:1.2!important;text-align:center!important;}
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters label span,
 #content.page-home .widget-partssearch__form.yb15-ready .search-parameters-type label span{white-space:normal!important;min-width:0;}
 #content.page-home .widget-partssearch__form.yb15-ready > .search-type{grid-column:1;grid-row:4;gap:6px!important;margin:0 11px!important;}
 #content.page-home .widget-partssearch__form.yb15-ready > .search-type.hide{display:none!important;}
 #content.page-home .yb15-ready .info-text p{font-size:12px!important;line-height:1.35!important;}
 #content.page-home .yb15-ready .search-type-year > .select-horsepowers,
 #content.page-home .yb15-ready .search-type-year > .select-models{flex:1 1 45%!important;}
 #content.page-home .yb15-ready .search-type-year > .select-years{flex:1 1 100%!important;}
 #content.page-home .widget-partssearch__form.yb15-ready select,
 #content.page-home .widget-partssearch__form.yb15-ready #model-number{height:38px!important;min-height:38px!important;font-size:14px!important;}
 #content.page-home .widget-partssearch__form.yb15-ready > .btn-results{grid-column:1;grid-row:5;justify-self:stretch!important;min-height:38px!important;margin:0 11px 11px!important;padding:9px 12px!important;}
}

/* Real navigation buttons: no changes to desktop card layout. */
#yb-wyposazenie-13 .yb175-nav,#yb-finval-14 .yb175-nav{display:none!important;}
@media(max-width:740px){
 #yb-wyposazenie-13.yb175-ready .yb13-mobile-hint,#yb-finval-14.yb175-ready .yb14-hint{display:none!important;}
 #yb-wyposazenie-13.yb175-ready .yb175-nav,#yb-finval-14.yb175-ready .yb175-nav{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;margin:5px 0 0;padding:0;}
 #yb-wyposazenie-13 .yb175-nav button,#yb-finval-14 .yb175-nav button{appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:38px;height:38px;padding:0;margin:0;border:1px solid #102846;border-radius:50%;background:#102846;color:#fff;cursor:pointer;box-shadow:none;touch-action:manipulation;}
 #yb-wyposazenie-13 .yb175-nav button:disabled,#yb-finval-14 .yb175-nav button:disabled{background:#e4ebf3;border-color:#ccd8e6;color:#73869b;cursor:default;}
 #yb-wyposazenie-13 .yb175-nav button:focus-visible,#yb-finval-14 .yb175-nav button:focus-visible{outline:2px solid #2974b2;outline-offset:2px;}
 .yb175-chevron{display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateX(-2px) rotate(45deg);}
 .yb175-prev .yb175-chevron{transform:translateX(2px) rotate(-135deg);}
 .yb175-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;font-size:11px;line-height:1.2;color:#52677c;text-align:center;}
 .yb175-dots{display:flex;align-items:center;justify-content:center;gap:7px;}
 .yb175-dot{display:block;width:7px;height:7px;border-radius:50%;background:#a9b8c8;}
 .yb175-dot.yb175-active{background:#e4002b;box-shadow:0 0 0 1px #e4002b;}
}
