/* Responsive sizing of the original hochu4 red/white layout and lenden controls. */
@font-face{font-family:CoreSans;src:url('fonts/CoreSansN35Light.woff2') format('woff2');font-weight:300;font-display:swap}

@font-face{font-family:CoreSans;src:url('fonts/CoreSansN55Medium.woff2') format('woff2');font-weight:500;font-display:swap}

@font-face{font-family:Intro;src:url('fonts/Intro.woff') format('woff');font-display:swap}

*{box-sizing:border-box}
html{font-size:16px;scroll-padding-top:100px}
body{margin:0;color:#282828;font:300 16px/1.5 CoreSans,Arial,sans-serif;background:#eee}
a{color:inherit;text-underline-offset:3px}
button,input,textarea,select{font:inherit}
button,a,input,summary{-webkit-tap-highlight-color:transparent}
button,summary{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #277575;outline-offset:3px}
button{border:1px solid #bbb;border-radius:5px;background:white;padding:8px 14px}
button:hover:not(:disabled){border-color:#f33;color:#d22}
#superbg{position:fixed;inset:0;background:url('images/bg.jpg') center/cover;z-index:-1}
#lendenpage{position:relative}
#header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px max(24px,calc((100vw - 1360px)/2));background:#f33;color:white;box-shadow:0 3px 10px #0003}
#header a{text-decoration:none}
#header .brand{flex:0 0 98px}
#header .brand img{width:98px;height:78px;object-fit:contain;display:block}
.header-link,.phone{white-space:nowrap;font-size:18px}
.header-link.active{font-weight:500;text-decoration:underline!important;text-underline-offset:6px}
.phone{font-weight:500}
#menu-cart{display:flex;align-items:center;gap:10px;border-top:2px solid white;padding-top:8px}
#menu-cart img{width:28px;height:28px}
.cart-lines-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 5px;background:white;border-radius:50%;color:#555;font-size:14px;font-weight:500}
#content{width:min(1400px,calc(100% - 64px));margin:0 auto;background:white;box-shadow:0 4px 22px #0003;padding:24px 32px 40px;min-height:65vh}
h1{font:24px/1.35 Intro,CoreSans,Arial,sans-serif;text-align:center;margin:0 0 22px}
h2{font-size:23px;font-weight:500;margin:20px 0 16px}
h3{font-size:18px;line-height:1.35;font-weight:500;margin:0}
.menu-navigation{background:white;border-bottom:1px solid #ddd;margin:0 -8px 20px;padding:8px;box-shadow:0 3px 6px #0001}
.category-chevron{display:inline-block;width:8px;height:8px;margin:0 2px 3px 10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
#categories-flex{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px 10px;align-items:start}
.category-node{min-width:0;display:flex;align-items:stretch}
.category-link{display:block;flex:1;background:#dbdbdb;border:2px solid #dbdbdb;border-radius:7px;padding:5px 8px;text-align:center;font-weight:500;font-size:14px;line-height:1.25;text-decoration:none}
.category-link:hover{background:#efefef}
.category-link.active{background:white;color:#dc2424;border-color:#f33}
.category-panel{margin-top:6px;padding:5px 8px;background:#fafafa;border-top:1px solid #ddd}
.category-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#666;font-size:13px;margin-bottom:4px}
.category-branch{display:flex;flex-wrap:wrap;gap:6px 8px}
.category-branch>.category-link{flex:0 1 auto;max-width:100%;background:#f0f0f0;font-size:14px;padding:4px 8px}
.category-branch>.category-link.active{background:white;border-color:#f33}
.category-subtree{flex-basis:100%;font-size:13px;color:#555}
.category-subtree>.category-branch{margin-top:6px}
.category-subtree>p{margin:6px 0}
[hidden]{display:none!important}
.breadcrumbs{font-size:14px;color:#666;margin:12px 0}
.group-heading{font-size:21px;margin:24px 0 16px}
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:16px 0 30px}
.menu-position{display:flex;flex-direction:column;min-width:0;position:relative;border-radius:5px;box-shadow:0 3px 12px #0003;background:white;overflow:hidden;transition:box-shadow .15s}
.menu-position:hover{box-shadow:0 4px 17px #0004}
.position-photo{flex:none;height:186px;background:#f4f4f4;position:relative}
.position-photo img{display:block;width:100%;height:100%;object-fit:cover}
.capacity{position:absolute;right:0;bottom:0;min-width:48px;padding:8px 8px 5px 14px;border-radius:32px 0 0;background:white;font-weight:500;font-size:15px}
.capacity:after{content:' шт'}
.menu-position[data-capacity="0"] .capacity{display:none}
.position-content{--card-padding:14px;padding:var(--card-padding);flex:1;display:flex;flex-direction:column}
.position-content p{margin:6px 0}
.weight,.muted{font-size:14px;color:#666}
.labels{font-size:13px;color:#a22}
.position-facts{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;margin:6px 0}
.nutrition{display:flex;gap:2px 7px;flex-wrap:wrap;font-size:12px;color:#666}
.nutrition>span{white-space:nowrap}
.nutrition-basis{color:#777}
.description-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;width:100%;margin:8px 0;padding:0;border:0;border-radius:2px;background:transparent;color:#555;text-align:left;font-size:14px;line-height:1.4}
.description-preview:hover:not(:disabled){border-color:transparent;color:#333;text-decoration:underline;text-decoration-color:#ccc;text-underline-offset:3px}
.description-preview.description-expanded{-webkit-line-clamp:unset}
.description-popover{position:fixed;inset:auto;margin:0;width:360px;max-width:calc(100vw - 24px);max-height:min(320px,60vh);overflow:auto;overscroll-behavior:contain;border:1px solid #ccc;border-radius:7px;padding:14px 34px 14px 14px;background:white;color:#333;box-shadow:0 5px 24px #0003;font:300 15px/1.5 CoreSans,Arial,sans-serif;overflow-wrap:anywhere}
.description-popover p{margin:0;white-space:pre-line}
.description-close{position:absolute;top:2px;right:2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;color:#666;font-size:24px;line-height:1}
.description-close:hover:not(:disabled){background:#eee;color:#333}

.position-buy{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:auto calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 0;padding-top:12px}
.position-buy>.add-button{margin-bottom:var(--card-padding)}
.add-button{font-family:Intro,Arial,sans-serif;font-size:14px;border:2px solid #f33;border-radius:5px;color:#e22;background:#fff;min-height:42px;padding:8px 12px}
.add-button:hover:not(:disabled){background:#f33;color:white}
.price{background:#f33;color:white;border-radius:36px 0 0;padding:14px 12px 10px 21px;font-size:20px;font-weight:500;white-space:nowrap}
.price del{display:block;font-size:13px;font-weight:300}
.product-details{border-top:1px solid #eee;margin-top:10px;padding-top:8px;font-size:14px;color:#555}
.product-details summary{font-size:14px}
.product-details[open]{overflow-wrap:anywhere}
.product-details p{margin:10px 0}
.card-status{font-size:13px;color:#b11}
.card-status:empty{display:none}
.card-status[data-error]{padding:6px;background:#fff3f0}
.position-photo img{position:relative;z-index:0;opacity:1;visibility:visible}
.image-failure{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:#777}
.progress{background:#ddd url('images/loader.gif') center/24px no-repeat!important;color:transparent!important;border-color:#ddd!important;pointer-events:none}
.notice,#notice:not(:empty){background:#fff4d7;border:1px solid #dbc17c;padding:12px 16px;border-radius:5px;margin:0 0 18px}
#notice:empty{display:none}
.red-button{display:block;width:fit-content;max-width:100%;margin:20px auto 0;padding:12px 28px;border:2px solid #f33;border-radius:5px;background:#f33;color:#fff;font:16px Intro,Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:0 3px 8px #0002}
.red-button:hover{background:white;color:#f33}
.basket-page{max-width:1040px;margin:auto}
.cart-line{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid #ddd;position:relative}
.cart-photo{width:180px;height:130px;object-fit:cover;border-radius:5px;background:#eee}
.cart-description{flex:1;min-width:0}
.cart-description h2{font-size:20px;margin:0 0 8px}
.cart-description p{margin:4px 0}
.cart-quantity{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.cart-quantity button{min-width:40px;font-weight:500}
.delete-button{color:#777;margin-left:14px;font-size:14px;border-color:transparent;text-decoration:underline}
.cart-total{font-size:22px;text-align:right;margin:24px 0}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
.checkout-layout .cart-photo{width:115px;height:90px}
.checkout-layout>*{min-width:0}
#checkout{display:grid;gap:14px}
#checkout label{display:grid;gap:5px}
#checkout .consent{display:block}
input,textarea,select{padding:10px;border:1px solid #bbb;border-radius:4px;background:white;max-width:100%;width:100%}
input[type=checkbox]{width:auto}
textarea{min-height:90px}
#checkout>button{background:#f33;color:white;padding:12px}
.info-page #delivery-flex{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px}
.info-page #delivery-flex>div{min-width:0}
.info-page #delivery-flex>div:last-child{grid-column:1/-1}
.info-page #delivery-flex>div>div[style]{padding-left:0!important}
.info-page #zones>div{display:flex;gap:12px;align-items:center;margin:12px 0}
.info-page #zones>div>div:first-child{width:18px;height:18px;flex:none;border-radius:50%}
.info-page #paymethods{display:flex;flex-wrap:wrap;gap:24px}
.info-page #paymethods>div{display:flex;align-items:center;gap:12px}
.info-page #paymethods img{width:42px;max-height:40px}
.info-page img,.info-page iframe{max-width:100%}
#footer{text-align:center;background:#f33;color:#fff;padding:24px 20px;box-shadow:0 -3px 10px #0002;font-size:14px}
#footer p{margin:8px 0}
.mobile-cart{display:none}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:1150px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}
#header{gap:20px;padding:8px 24px}
.header-link,.phone{font-size:16px}
#content{width:calc(100% - 32px);padding:24px}
}

@media(max-width:850px){#header{gap:12px;padding:8px 16px}
#header .brand{flex-basis:72px}
#header .brand img{width:72px;height:58px}
.header-link,.phone{font-size:14px}
#menu-cart{gap:6px}
.products{gap:16px}
.position-content{--card-padding:12px}
.position-buy{gap:6px}
.add-button{font-size:12px;padding:7px 9px}
.price{font-size:18px;padding-left:16px}
.checkout-layout{grid-template-columns:1fr;gap:24px}
}

@media(max-width:650px){body{padding-bottom:60px;background:#fff}
#superbg{display:none}
#header{display:grid;grid-template-columns:70px 1fr 1fr;gap:8px 12px;padding:8px 12px}
#header .brand{grid-row:1/3}
#header .brand img{width:70px;height:60px}
#header .header-link{font-size:14px;white-space:normal}
#header .phone{font-size:14px;text-align:right;grid-column:2/4;grid-row:2}
#menu-cart{display:none!important}
#content{width:100%;padding:20px 14px 30px;box-shadow:none}
h1{font-size:21px;margin-bottom:18px}
h2{font-size:21px}
.menu-navigation{margin:0 -2px 18px;padding:6px 2px}
#categories-flex{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px}
#categories-flex>.category-link,#categories-flex>.category-node{flex:0 0 auto;max-width:220px}
.category-link{font-size:14px;padding:8px}
.category-panel{padding:8px 4px}
.category-branch>.category-link{font-size:13px}
.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.position-photo{height:145px}
.position-content{--card-padding:10px}
.position-content h3{font-size:16px}
.weight{font-size:13px}
.position-buy{flex-wrap:wrap}
.add-button{font-size:12px;flex:1;min-width:0}
.price{font-size:17px;padding:10px 8px 8px 14px}
.product-details,.product-details summary{font-size:13px}
.cart-line{gap:14px;padding:18px 0}
.cart-photo{width:100px;height:90px}
.cart-description h2{font-size:17px}
.cart-quantity{gap:6px}
.cart-quantity button{padding:6px 10px;min-width:32px}
.delete-button{margin-left:0}
.cart-total{font-size:20px}
.mobile-cart{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:center;align-items:center;gap:8px;background:#f33;color:white;min-height:54px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));z-index:15;text-decoration:none;font-weight:500;box-shadow:0 -2px 6px #0002}
.info-page #delivery-flex{display:flex;flex-direction:column}
.info-page #delivery-flex>div:nth-child(2){min-height:360px;overflow:hidden}
.info-page #paymethods{flex-direction:column;gap:18px}
.info-page iframe{width:100%!important}
#footer{font-size:13px;padding:18px 14px}
}

@media(max-width:370px){.products{grid-template-columns:1fr}
.position-photo{height:200px}
#header .phone{font-size:13px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}
}
