/* V3 — adaptive layouts without changing catalogue or advert data. */
html{-webkit-text-size-adjust:100%;scroll-padding-top:110px}
body{overflow-wrap:break-word}
main,.container,.nc7-wrap,.wellness-copy,.wellness-visual,.article,.sidebar,.customer-shell,.customer-card,.nc7-buy-card,.nc8-offer-card,.ad-copy,.promo-copy,.main,.side{min-width:0}
.container,.nc7-wrap{max-width:calc(100% - 20px)}
.grid>*,.section-head>*,.wellness-hero-grid>*,.product-list-card>*,.diatron-spotlight>*,.form-grid>*,.customer-form>*,.nc7-hero>*{min-width:0}
input:not([type=checkbox]):not([type=radio]),textarea,select{min-width:0;max-width:100%}
input,textarea,select{scroll-margin-top:115px}
input::placeholder,textarea::placeholder{opacity:1}
textarea{resize:vertical}
button,.btn,.customer-button,.nc8-offer-select{touch-action:manipulation}
button:disabled{cursor:wait;opacity:.7}
img,video,canvas{max-width:100%}
.article-content figure{margin-inline:0}
.article-content pre{white-space:pre;overflow:auto}
.article-content table{display:block;max-width:100%;overflow:auto;overscroll-behavior-x:contain}
.article-content th,.article-content td{min-width:100px}
.article-content a,.sources a,.credit-grid a,.customer-note,.customer-muted,.customer-order-head h2{overflow-wrap:anywhere}
.article-title h1,.page-hero h1,.customer-title h1,.wellness-copy h1{overflow-wrap:break-word;hyphens:auto}
.ad-unit,.product-promo{max-width:100%;scroll-margin-top:115px}
.ad-copy>strong,.promo-copy>strong,.ad-copy>span,.promo-copy>span{overflow-wrap:anywhere}
.ad-unit .btn,.product-promo .btn,.spotlight-actions .btn{white-space:normal;text-align:center;overflow-wrap:anywhere}
.nc-product-price .nc-price-values{min-width:0}
.nc-product-price .nc-price-now strong{font-variant-numeric:tabular-nums}
.article-order-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.article-order-copy{overflow-wrap:anywhere}
.article-order-close,.nc-chat-close{min-width:40px;min-height:40px;flex-shrink:0}
.nc-chat-panel{max-height:calc(100dvh - 96px)}
.nc-chat-compose textarea{font-size:16px}
.nc-chat-contact label{min-width:0}
.customer-form .check-line>span{min-width:0}
.customer-notice,.form-status{overflow-wrap:anywhere}
.table-wrap{max-width:100%;overscroll-behavior-x:contain}
.admin-logout{margin:0;flex:0 0 auto}
.side nav .admin-logout button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 11px;border:0;border-radius:10px;background:transparent;color:#dceade;text-align:left;font:inherit;font-weight:650;cursor:pointer;white-space:nowrap}
.side nav .admin-logout button:hover{background:#ffffff1f;color:#fff}
.side nav .admin-logout button:focus-visible{outline:3px solid #d2ddb1;outline-offset:-3px}
.admin-shell .main{max-width:100%}
.admin-shell .form-grid,.admin-shell .editor-layout{min-width:0}
.admin-shell .field label,.admin-shell .help{overflow-wrap:anywhere}
.admin-shell input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}
.admin-shell .field>label:has(>input[type=checkbox]){display:flex;align-items:center;gap:9px}
@media(max-width:1020px){
 html{scroll-padding-top:90px}
 .site-header .menu{max-height:calc(100dvh - 92px);overscroll-behavior:contain}
 .site-header .menu.open a{min-height:46px}
}
@media(max-width:720px){
 .customer-card{padding:22px 18px}
 .nc7-action{grid-template-columns:1fr!important}
 .nc7-action a{width:100%;min-height:48px}
 .article-order-dialog{max-height:calc(100dvh - 20px);border-radius:16px}
 .article-order-media{min-height:0}
 .article-order-media img{max-height:170px;object-fit:contain}
 .article-order-copy{padding:20px}
 .nc-chat-panel{max-height:calc(100dvh - 90px)}
 .nc-chat-head .nc-heading{min-width:0}
 .nc-chat-head strong{overflow-wrap:anywhere}
 .a11y-panel{max-height:calc(100dvh - 110px);overscroll-behavior:contain}
 .a11y-actions button{min-height:44px}
 .customer-form input:not([type=checkbox]),.customer-form select,.customer-form textarea,.lead-form input:not([type=checkbox]),.lead-form textarea{font-size:16px}
 .searchbar input,.wellness-search input{min-width:0;font-size:16px}
 .admin-shell .side{max-width:100%;overflow:hidden}
 .admin-shell .side nav{overscroll-behavior-x:contain;gap:4px;padding-bottom:5px}
 .admin-shell .side nav a,.admin-shell .side nav .admin-logout{flex:0 0 auto}
 .admin-shell .topbar{gap:12px;flex-wrap:wrap}
 .admin-shell .main{padding-inline:12px}
 .admin-shell .field input,.admin-shell .field textarea,.admin-shell .field select{font-size:16px}
}
@media(max-width:420px){
 .nc8-offer-fields,.nc8-offer-textfields{grid-template-columns:1fr!important}
 .customer-tabs{grid-template-columns:1fr}
 .customer-tabs a{min-height:44px}
 .article-title h1,.page-hero h1{font-size:clamp(1.95rem,9.3vw,2.45rem)}
 .nc7-crumb{flex-wrap:wrap;overflow-wrap:anywhere}
 .wellness-actions{gap:14px}
 .wellness-actions .btn,.wellness-actions .text-link{min-height:44px}
 .ad-unit,.product-promo{padding-inline:14px}
 .nc-product-price .nc-price-discount{max-width:100%}
 .customer-card{padding:20px 16px}
}
@media(max-height:520px) and (orientation:landscape){
 .site-header{position:relative}
 .article-order-dialog{display:block;max-height:calc(100dvh - 16px)}
 .article-order-media{display:none}
 .nc-chat-panel{inset:8px;max-height:none;height:calc(100dvh - 16px);min-height:0}
 .a11y-panel{bottom:8px;max-height:calc(100dvh - 16px)}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
