
/* Katalogus / mobil megjelenes: kozvetlenul ellenorizheto torontes nelkul. */
html,body{max-width:100%;overflow-x:clip}
img,video,iframe{max-width:100%;height:auto}
#main,#main>.container,#main .container,#content,#content>article,#content .box{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:980px){#main .row,#main .row>*{min-width:0}#main .container{width:calc(100% - 24px);max-width:100%}}
@media(max-width:760px){#main>.container,#main .container{width:calc(100% - 20px);max-width:100%;padding-left:0;padding-right:0}}

/* Fdomain katalogus: responsiv sorok eredeti design megtartasaval. */
#main article,#main article *{box-sizing:border-box}
#main article img{max-width:100%;height:auto}
#main article .pot-catalog-photo{display:block;width:100%;height:160px;max-width:100%;object-fit:contain}
#main article .pot-catalog-photo-link{display:flex;align-items:center;justify-content:center;min-height:170px}
#main article .pot-catalog-action{max-width:100%;white-space:normal;text-align:center}
@media(max-width:780px){#main .row,#main .row>*{min-width:0;max-width:100%}#main article{min-width:0;max-width:100%}}

/* Clickable, verified product prices in catalogue. */
.pot-price-link{color:inherit!important;text-decoration:none;font-weight:inherit}.pot-price-link:hover{text-decoration:underline}


/* V15 menu reliability: sidebar must never vanish because the preload class persists. */
#sidebar{visibility:visible!important}
@media screen and (min-width:1281px){#sidebar{display:block!important;margin-left:0!important}}
@media screen and (max-width:1280px){
  #sidebar{display:block!important}
  #sidebar .toggle{display:block!important}
}

/* V16 product image rendering hardening */

.pot-product-top figure{min-width:0;overflow:visible!important}
.pot-product-top figure img{display:block!important;width:100%!important;max-width:320px!important;height:auto!important;max-height:320px!important;object-fit:contain!important;margin:0 auto!important;opacity:1!important;visibility:visible!important}
@media(max-width:760px){.pot-product-top figure img{max-width:280px!important;height:auto!important}}

/* V18 menu hardening */
@media screen and (min-width:1281px){#sidebar,#sidebar.inactive{display:block!important;visibility:visible!important;margin-left:0!important;opacity:1!important}}
@media screen and (max-width:1280px){#sidebar{display:block!important;visibility:visible!important}#sidebar .toggle{display:block!important;visibility:visible!important;opacity:1!important;z-index:10001!important}}
