:root{--site-shell:1280px;--site-gutter:32px;--admin-shell:1280px}
html{scrollbar-gutter:stable}body{overflow-x:clip}
:where(.nav-shell,.content-width,.content-shell,.offers-index-shell,.banks-page,.cards-page,.categories-page,.catalog-shell,.offer-detail-shell,.static-page,.contact-page,.hero-shell,.home-section,.market-content,.market-bank-strip,.market-home-ads,.market-newsletter,.footer-shell){width:min(var(--site-shell),calc(100% - var(--site-gutter)))!important;margin-left:auto!important;margin-right:auto!important}
:where(.market-category-strip,.category-strip,.home-strip-scroll){max-width:var(--site-shell)}
:where(main,section,article,aside,header,footer,nav,form,fieldset,div,dl,table,thead,tbody,tr,td,th){min-width:0}
:where(h1,h2,h3,h4,h5,h6,p,li,dd,dt,a,button,label,strong,small,span){overflow-wrap:anywhere;word-break:normal}
:where(input,select,textarea,button){max-width:100%}textarea{resize:vertical}.table-scroll,.ui-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
:where(.offer-grid,.index-offer-grid,.related-grid,.bank-directory-grid,.cards-directory-grid,.categories-grid,.category-directory-grid,.catalog-grid,.market-featured-grid)>*{min-width:0;max-width:100%}
:where(.market-offer-card,.offer-card,.catalog-card,.directory-card,.ui-card){isolation:isolate}
:where(.market-offer-content h3,.offer-info h3,.category-directory-grid h2,.category-label){max-width:100%}
.admin-main{width:min(100%,var(--admin-shell))!important;margin-left:auto!important;margin-right:auto!important}
img{height:auto}.market-offer-media img,.offer-photo img,.category-offer-thumb,.offer-hero-photo img{height:100%}
@media(max-width:560px){:root{--site-gutter:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
