/* Shared layout limits, including narrow phones and enlarged text. */
.brand-block,.brand-block>div,.toolbar>div,.account-row>div{min-width:0}
.brand-block p,.account-row strong,.account-row p{overflow-wrap:anywhere}
.header-inner>img,.header-inner>a>img{max-width:100%}
.tabs-scroll{overscroll-behavior-x:contain;scroll-padding-inline:12px}
.tab,.quick-filter{min-height:44px}
.downloads button{min-height:44px}
#toast{max-width:calc(100% - 28px);width:max-content;overflow-wrap:anywhere}

@media(max-width:1000px) and (min-width:761px){
 .catalog-header .header-inner{flex-wrap:wrap}
 .catalog-header .brand-block{flex-basis:calc(100% - 210px)}
 .catalog-header .access-tools{max-width:none}
 .toolbar{flex-wrap:wrap}
 .table-wrap table{min-width:800px}
}
@media(max-width:760px){
 .catalog-header .brand-block{min-width:0;flex-basis:100%}
 .catalog-header .header-inner{gap:14px}
 .catalog-header .website-link{min-height:44px;display:inline-flex;align-items:center}
 .catalog-header .access-tools{margin-left:auto;min-width:0}
 .catalog-header .access-tools a,.catalog-header .access-tools button{min-height:44px;display:inline-flex;align-items:center}
 .search-row{flex-direction:column}
 .supplier-label{width:100%;max-width:none}
 .search input,select,.access-card input,.access-card textarea,#account-search{font-size:16px}
 .downloads{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .downloads button{min-width:0;white-space:normal;line-height:1.35}
 .table-wrap{overflow:visible;border:0;background:transparent;border-radius:0}
 .table-wrap table{display:block;min-width:0;width:100%}
 .table-wrap thead{display:block}
 .table-wrap thead tr{display:block;border:0;background:transparent;border-radius:0}
 .table-wrap th{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
 .table-wrap th.product-column{position:static;width:auto;height:auto;clip-path:none;text-align:right;padding:0 0 10px;background:transparent}
 .table-wrap th.product-column button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:white}
 .table-wrap tbody{display:grid;gap:12px}
 .table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}
 .table-wrap td{display:block;min-width:0;width:auto;border:0;padding:0 14px;overflow-wrap:anywhere}
 .table-wrap td:first-child{grid-column:1/-1;width:auto;padding-top:13px;font-size:12px}
 .table-wrap td:nth-child(2){grid-column:1/-1;padding-top:5px;padding-bottom:8px}
 .table-wrap .name{font-size:16px;line-height:1.35}
 .table-wrap .provider-cell{grid-column:1/-1;max-width:none;font-size:12px;line-height:1.4}
 .table-wrap td.units{grid-column:1/-1;text-align:left;padding-top:5px;padding-bottom:12px;font-size:12px}
 .table-wrap td:first-child::before{content:attr(data-label) " ";font-weight:500}
 .table-wrap .provider-cell::before,.table-wrap .units::before{content:attr(data-label) ": ";font-weight:500}
 .table-wrap td.price{border-top:1px solid var(--line);padding:11px 14px 14px;text-align:left;white-space:normal;font-size:16px}
 .table-wrap td.price:last-child{text-align:right;background:#f1f7ef}
 .table-wrap td.price::before{content:attr(data-label);display:block;font-size:11px;color:#6d7567;font-weight:400;margin-bottom:4px}
 .more-row{flex-wrap:wrap}
 .more-row button{min-height:44px}
 .note{margin-top:20px}
 footer{flex-wrap:wrap;gap:10px 18px}
 footer p{margin:0}
 footer>span{flex-basis:100%}
 .access-main{width:100%}
 .access-page main:not(.catalog-main){padding:22px 14px}
 .access-page .header-inner{padding:20px 18px}
 .access-card{max-width:510px;margin-inline:auto}
 .admin-top{flex-wrap:wrap}
 .admin-layout .access-card{min-width:0}
 .account-row{overflow-wrap:anywhere}
 .account-buttons{width:100%}
 .account-buttons button{min-height:44px}
 .delivery-actions button{min-height:44px}
}
@media(max-width:380px){
 .catalog-header h1{font-size:25px}
 .brand-block{gap:10px}
 .brand-block>img{width:46px;height:46px;flex-shrink:0}
 .catalog-header .access-tools{width:100%;justify-content:flex-start;margin-left:0}
 .table-wrap td.price{font-size:15px;padding-inline:11px}
 .access-card{padding:24px 16px}
 .account-buttons{flex-direction:column}
}
