/* Gastropartners – мобилна версия и скорост (v0.3.0). Зарежда се последен. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gp-home .truck,.gp-home .wh{animation:none!important}*{transition-duration:.01ms!important}}
.gp-home section[id]{scroll-margin-top:70px}
.gp-home img{max-width:100%}
.sr{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.burger,.sicon,.hsearch,.mbar{display:none}
.gp-home .lane{contain:layout paint}
.gp-ftr{content-visibility:auto;contain-intrinsic-size:auto 520px}
.gp-ftr a[href^="tel"]{color:#fff;font-weight:600}
/* на десктоп: по-лека снимка (WebP) */
@media (min-width:641px){.gp-home .story,.gp-story{background-image:linear-gradient(rgba(14,19,16,.46),rgba(14,19,16,.46)),url(../img/hero-kitchen-1600.webp)}}
/* ---- хедър, долна лента, подвал (≤640px) ---- */
@media (max-width:640px){
body.gp{padding-bottom:64px}
.gp-wrap{padding-left:18px;padding-right:18px}
.admin-bar .gp-hdr{top:46px}
.gp-hdr{position:sticky;top:0;z-index:50}
.gp-hdr .gp-wrap{flex-wrap:nowrap;justify-content:space-between;gap:10px;padding-top:8px;padding-bottom:8px}
.gp-logo img{height:42px}
.sicon,.burger{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;cursor:pointer;background:rgba(255,255,255,.55)}
.sicon{margin-left:auto}
#msr:checked ~ .sicon{background:#fff;box-shadow:inset 0 0 0 2px #3BAA48}
.burger i{position:relative;display:block;width:22px;height:2.5px;border-radius:2px;background:#2B3A3D;transition:background .2s}
.burger i:before,.burger i:after{content:"";position:absolute;left:0;width:22px;height:2.5px;border-radius:2px;background:#2B3A3D;transition:transform .2s}
.burger i:before{top:-7px}.burger i:after{top:7px}
#mnav:checked ~ .burger i{background:transparent}
#mnav:checked ~ .burger i:before{transform:translateY(7px) rotate(45deg)}
#mnav:checked ~ .burger i:after{transform:translateY(-7px) rotate(-45deg)}
.gp-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:4px 18px 12px;background-color:#EDE5DE;box-shadow:0 16px 24px rgba(38,50,52,.18);border-top:1px solid #D9CFC4}
#mnav:checked ~ .gp-nav{display:block}
.gp-nav ul{flex-direction:column;flex-wrap:nowrap;gap:0;font-size:17px}
.gp-nav a{display:block;padding:16px 4px;border-bottom:1px solid #D9CFC4}
.gp-nav li:last-child a{border-bottom:0}
.hsearch{position:absolute;top:100%;left:0;right:0;padding:10px 18px 14px;background-color:#EDE5DE;box-shadow:0 16px 24px rgba(38,50,52,.18);border-top:1px solid #D9CFC4}
#msr:checked ~ .hsearch{display:block}
.hsearch input{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:#1F2A24;padding:14px 18px;border:1.5px solid #D9CFC4;border-radius:999px;background:#fff;outline:0}
.hsearch input:focus{border-color:#2A7F35;box-shadow:0 0 0 4px rgba(59,170,72,.25)}
.mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;height:60px;background:#1F2A24;box-shadow:0 -6px 20px rgba(0,0,0,.25);padding-bottom:env(safe-area-inset-bottom,0)}
.mbar a{flex:1;display:flex;align-items:center;justify-content:center;color:#fff!important;font-weight:600;font-size:14.5px}
.mbar .mb-main{background:#D12F23;margin:8px 4px;border-radius:999px;flex:1.3}
.gp-ftr .gp-wrap{gap:24px;padding-top:36px;padding-bottom:36px}
}
/* ---- начална страница (≤900px) ---- */
@media (hover:none){
.gp-home .pc:hover,.gp-home .tile:hover,.gp-home .col3 .pt:hover,.gp-home .bz:hover,.gp-home .btn:hover,.gp-home .btn3:hover,.gp-home .st:hover .n,.gp-home .sbtn:hover{transform:none}
.gp-home .pc:hover .pimg,.gp-home .pc:hover .rb{transform:none}
}
@media (max-width:900px){
.gp-home .wrap{padding-left:24px;padding-right:24px}
.gp-home .sec{padding:56px 0}
.gp-home .who{padding:72px 0 64px}
.gp-home .hero .wrap{min-height:440px!important;padding-top:64px!important}
.gp-home .hero h1{font-size:46px!important}
.gp-home .chain{padding:26px 24px 22px}
}
@media (max-width:640px){
.gp-home .wrap{padding-left:18px;padding-right:18px}
.gp-home .sec{padding:40px 0 48px}
.gp-home .row{margin-bottom:20px}
.gp-home .band{font-size:22px;padding:.6em 2em .6em .8em}
.gp-home .hero .wrap{min-height:0!important;padding-top:36px!important;padding-bottom:22px!important}
.gp-home .hero .wrap>div{gap:14px!important}
.gp-home .hero h1{font-size:34px!important;line-height:1.12!important}
.gp-home .hero p{font-size:16px!important;line-height:1.5!important}
.gp-home .hero .wrap>div>div{gap:10px!important;width:100%;margin-top:4px!important}
.gp-home .hero .btn,.gp-home .hero .btn3{flex:1 1 100%;box-sizing:border-box;text-align:center;padding:15px 18px}
.gp-home .story .srch,.gp-home .story .chips{max-width:none;margin-left:0}
.gp-home .srch{padding:5px 5px 5px 16px;gap:8px}
.gp-home .srch svg{width:20px;height:20px;flex:none}
.gp-home .srch input{font-size:16px;padding:11px 0;text-overflow:ellipsis}
.gp-home .srch input::placeholder{text-overflow:ellipsis}
.gp-home .sbtn{padding:13px 18px;font-size:15px}
.gp-home .chips{flex-wrap:nowrap;overflow-x:auto;gap:8px;font-size:14px;margin:14px -18px 0;padding:2px 18px 6px;scrollbar-width:none}
.gp-home .chips::-webkit-scrollbar{display:none}
.gp-home .chips>*{flex:none;white-space:nowrap}
.gp-home .chips a,.gp-home .chips label{padding:9px 15px}
.gp-home .who{padding:36px 0 36px}
.gp-home .who p{font-size:16.5px!important;line-height:1.55!important;padding-left:14px}
.gp-home .paper .wrap{padding-top:28px!important;padding-bottom:36px!important}
.gp-home .col3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -18px;padding:4px 18px 16px;scrollbar-width:none}
.gp-home .col3::-webkit-scrollbar{display:none}
.gp-home .col3 .pt{flex:0 0 80%;scroll-snap-align:center;padding:22px 20px;border-radius:20px}
.gp-home .pt h3{font-size:20px}
.gp-home .pt p{font-size:15px}
.gp-home .chain{padding:18px 14px 14px;border-radius:20px;margin-top:8px}
.gp-home .ct{font-size:20px}
.gp-home .hint{font-size:13px;margin-bottom:8px}
.gp-home .lane{height:60px}
.gp-home .truck{width:128px;height:52px;animation-name:gptruckm}
@keyframes gptruckm{from{left:0}to{left:calc(100% - 128px)}}
.gp-home .steps{display:flex;overflow-x:auto;gap:2px;margin:0 -14px;padding:0 10px;scrollbar-width:none}
.gp-home .steps::-webkit-scrollbar{display:none}
.gp-home .st{flex:0 0 86px;padding:10px 4px;gap:8px}
.gp-home .st .n{width:42px;height:42px;font-size:17px}
.gp-home .st .sl{font-size:14.5px}
.gp-home .pnl{padding:16px 16px 16px 22px;margin-top:8px}
.gp-home .pnl h4{font-size:19px}
.gp-home .pnl p{font-size:15px}
.gp-home .cint{font-size:15.5px;margin-bottom:18px}
.gp-home .bizrow{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 -18px 18px;padding:2px 18px 8px;scrollbar-width:none}
.gp-home .bizrow::-webkit-scrollbar{display:none}
.gp-home .bl{flex:none;margin:0 4px 0 0;font-size:14px}
.gp-home .bz{flex:none;white-space:nowrap;font-size:14px;padding:10px 15px}
.gp-home .grid4{grid-template-columns:1fr;gap:10px}
.gp-home .pc,.gp-home .pc.wide{grid-column:auto;flex-direction:row;align-items:stretch;border-radius:22px}
.gp-home .ph2,.gp-home .wide .ph2{width:96px;height:auto;min-height:100px;flex:none}
.gp-home .rb,.gp-home .wide .rb{width:66px;height:66px;margin:-33px 0 0 -33px}
.gp-home .rb:after{width:18px;height:18px;right:-6px;bottom:6px}
.gp-home .pimg,.gp-home .wide .pimg{width:82px;height:82px;margin:-41px 0 0 -41px;left:50%;top:50%;bottom:auto}
.gp-home .pb,.gp-home .wide .pb{padding:12px 12px 12px 2px;gap:8px;justify-content:center}
.gp-home .pn2,.gp-home .wide .pn2{font-size:17px;min-height:0;line-height:1.1}
.gp-home .acts{flex-direction:row;flex-wrap:wrap;gap:6px}
.gp-home .add{display:block}
.gp-home .go,.gp-home .tg{font-size:13px;padding:10px 14px;justify-content:center}
.gp-home .tray{bottom:12px;width:auto;gap:10px;margin:14px 0 0;padding:8px 8px 8px 14px}
.gp-home .tt{flex:1;font-size:13px;line-height:1.2}
.gp-home .tsend{padding:12px 15px;font-size:13.5px;white-space:nowrap}
}
@media (max-width:380px){
.gp-home .hero h1{font-size:30px!important}
.gp-home .ph2,.gp-home .wide .ph2{width:84px}
.gp-home .pn2,.gp-home .wide .pn2{font-size:16px}
}
@media (max-width:640px){
.gp-home .hero .wrap{padding-top:28px!important;padding-bottom:18px!important}
.gp-home .hero .wrap>div{gap:12px!important}
.gp-home .hero h1{font-size:32px!important;font-weight:400!important;line-height:1.12!important}
.gp-home .hero h1,.gp-home .hero p{text-shadow:0 1px 10px rgba(0,0,0,.55)}
.gp-home .hero p{font-size:15.5px!important;line-height:1.5!important;max-width:30em}
.gp-home .hero .wrap>div>div{margin-top:6px!important;gap:12px!important}
.gp-home .hero .btn{padding:15px 18px;font-size:16px}
.gp-home .hero .btn3{flex:1 1 100%;border:0;padding:6px 0 0;font-size:15px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.6)}
.gp-home .hero .btn3:hover{background:none}
.gp-home .story{display:flex;flex-direction:column}
.gp-home .story>.wrap{order:-1;width:100%;box-sizing:border-box;padding-top:14px!important;padding-bottom:0!important}
.gp-home .hero .wrap{padding-top:22px!important}
.gp-home .srch{padding:4px 6px 4px 16px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.gp-home .srch:focus-within{transform:none;box-shadow:0 0 0 3px rgba(59,170,72,.6)}
.gp-home .srch input{padding:12px 0}
.gp-home .sbtn{display:none}
.gp-home .chips{display:none}
.gp-home .who{padding:28px 0 32px}
.gp-home .who .row{margin-bottom:14px}
.gp-home .who .row:after{display:none}
.gp-home .who .band{font-size:20px;padding:.55em 1.8em .55em .8em}
.gp-home .who p{font-size:16px!important;line-height:1.55!important;padding-left:0;border-left:0;text-shadow:none!important;color:#F3EEE6!important}
}
@media (max-width:640px){
.gp-home .story>.wrap{display:none!important}
.gp-home .hero .wrap{padding-top:32px!important}
}
@media (max-width:640px){
.gp-home .hero .btn3{display:none}
.gp-home .hero .wrap{padding-top:40px!important;padding-bottom:36px!important}
.gp-home .hero h1{font-size:34px!important}
.gp-home .col3{display:block;overflow:visible;margin:0;padding:0}
.gp-home .col3 .pt{display:block;margin:0 0 10px;padding:16px 18px;border-radius:18px;box-shadow:0 4px 14px rgba(58,69,64,.08)}
.gp-home .col3 .pt:before{width:30px;height:4px;margin-bottom:10px}
.gp-home .col3 .pt h3{font-size:18px;margin-bottom:6px}
.gp-home .col3 .pt p{font-size:14.5px;line-height:1.5}
.gp-home .grid4{grid-template-columns:1fr 1fr;gap:12px}
.gp-home .pc,.gp-home .pc.wide{flex-direction:column;border-radius:22px}
.gp-home .ph2,.gp-home .wide .ph2{width:auto;height:112px;min-height:0}
.gp-home .rb,.gp-home .wide .rb{width:84px;height:84px;margin:-42px 0 0 -42px}
.gp-home .pimg,.gp-home .wide .pimg{width:100px;height:100px;margin:-50px 0 0 -50px}
.gp-home .pb,.gp-home .wide .pb{padding:4px 10px 14px;text-align:center;justify-content:flex-start}
.gp-home .pn2,.gp-home .wide .pn2{font-size:15.5px;min-height:34px;line-height:1.1}
.gp-home .acts{display:block}
.gp-home .go{position:static;font-size:0;padding:0;background:none;box-shadow:none}
.gp-home .go svg{display:none}
.gp-home .go::after{content:"";position:absolute;inset:0;z-index:1}
.gp-home .add{position:absolute;top:8px;right:8px;z-index:3;display:block}
.gp-home .tg{width:36px;height:36px;padding:0;font-size:0;justify-content:center;background:rgba(255,255,255,.95);box-shadow:0 2px 8px rgba(31,42,36,.2)}
.gp-home .tg .t1,.gp-home .tg .t2,.gp-home .tick:checked + .tg .t2{display:none}
.gp-home .tg::before{content:"+";font-size:22px;font-weight:600;line-height:1;color:#1F2A24}
.gp-home .tick:checked + .tg::before{content:"\2713";color:#fff;font-size:18px}
.gp-home .tray{bottom:72px;position:fixed;left:12px;right:12px;margin:0;width:auto}
}
@media (max-width:640px){
.gp-home .story{background:#1F2A24}
.gp-home .hero{background-color:#1F2A24;background-image:linear-gradient(rgba(14,19,16,.46),rgba(14,19,16,.46)),url(../img/hero-kitchen-900.webp);background-size:100% 103.5vw,100% auto;background-repeat:no-repeat;background-position:top center;padding-top:0;min-height:max(150vw,calc(100svh - 122px));display:flex}
.gp-home .hero .wrap{min-height:0!important;align-items:flex-end!important;padding-top:40px!important;padding-bottom:34px!important}
.gp-home .hero .wrap>div{gap:16px!important}
.gp-home .hero h1{font-size:40px!important;line-height:1.05!important;font-weight:500!important;letter-spacing:-.01em}
.gp-home .hero h1,.gp-home .hero p{text-shadow:0 1px 12px rgba(0,0,0,.5)}
.gp-home .hero p{font-size:16.5px!important;line-height:1.5!important;color:#F4EFE7!important}
.gp-home .hero .btn{padding:17px 20px;font-size:17px;border-radius:999px;box-shadow:0 10px 24px rgba(209,47,35,.45)}
.gp-home .hero .btn3{display:block;flex:1 1 100%;text-align:center;padding:15px 20px;border-radius:999px;border:1.5px solid rgba(255,255,255,.7);background:transparent;text-decoration:none;font-size:16px}
.gp-home .hero .wrap>div>div{margin-top:8px!important;gap:10px!important}
.gp-home .who{padding:40px 0 56px;background-color:#1F2A24;background-image:linear-gradient(rgba(14,19,16,.46),rgba(14,19,16,.46)),url(../img/hero-kitchen-900.webp);background-size:cover;background-position:center}
.gp-home .paper{position:relative;margin-top:-26px;border-radius:26px 26px 0 0;overflow:hidden;box-shadow:0 -10px 30px rgba(0,0,0,.18)}
.gp-home .paper .wrap{padding-top:34px!important}
.gp-home .sec{padding-top:34px}
}
@keyframes gpopen{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (max-width:640px){
.gp-home .who{padding:36px 0 8px;background-color:#EDE5DE;background-image:url(../img/paper.jpg);background-size:100% auto;background-repeat:repeat-y;background-position:top}
.gp-home .who p{color:#2B3A3D!important;text-shadow:none!important;font-size:18px!important;font-weight:400!important}
.gp-home .paper{margin-top:0;border-radius:0;box-shadow:none;overflow:visible}
.gp-home .paper .wrap{padding-top:8px!important}
.gp-home .col3:before{content:"Натиснете върху точка, за да му видите повече";display:block;margin:0 0 12px;font-size:13px;color:#6B7570}
.gp-home .col3 .pt{position:relative;cursor:pointer;padding:18px 62px 18px 18px;margin:0 0 10px;-webkit-tap-highlight-color:transparent;transition:box-shadow .2s}
.gp-home .col3 .pt:before{display:none}
.gp-home .col3 .pt h3{margin:0;font-size:18px}
.gp-home .col3 .pt p{display:none;margin:10px 0 0}
.gp-home .col3 .pt:after{content:"+";position:absolute;right:14px;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;background:#D12F23;color:#fff;font-size:24px;line-height:35px;text-align:center;transition:transform .25s}
.gp-home .col3 .pt:focus{outline:0;box-shadow:0 8px 24px rgba(31,42,36,.18)}
.gp-home .col3 .pt:focus:after{transform:rotate(45deg);background:#3BAA48}
.gp-home .col3 .pt:focus p{display:block;animation:gpopen .25s ease}
}
@media (max-width:640px){
.gp-home .hero{background-size:cover;background-position:center;min-height:max(128vw,calc(100svh - 122px));align-items:flex-end}
.gp-home .hero .wrap>div>div{flex-wrap:nowrap;gap:10px!important}
.gp-home .hero .btn,.gp-home .hero .btn3{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:13px 10px;font-size:15px;line-height:1.2;min-height:54px;box-sizing:border-box}
.gp-home .hero .btn3{border-color:rgba(255,255,255,.85);background:rgba(20,26,22,.28)}
}
@media (max-width:640px){
.gp-home .steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:0;margin:0;padding:0}
.gp-home .st{flex:none;min-width:0;padding:8px 1px;gap:6px}
.gp-home .st .n{width:36px;height:36px;font-size:15px}
.gp-home .st .sl{font-size:11px;line-height:1.15;text-align:center;overflow-wrap:anywhere;hyphens:auto}
}
.gp-home .lane{contain:layout paint}
@media (prefers-reduced-motion:reduce){
.gp-home .truck,.gp-home .wh{animation:none!important}
.gp-home *{transition-duration:.01ms!important}
}
@media (max-width:640px){
.gp-home .pimg{filter:none}
.gp-home .pc,.gp-home .col3 .pt,.gp-home .chain,.gp-home .pnl{box-shadow:0 2px 8px rgba(31,42,36,.08)}
}

/* ---- долна лента: „Обадете се“ като малко меню с номерата (≤640px) ---- */
@media (max-width:640px){
.mbar .mb-call{flex:1;position:relative;display:flex}
.mbar .mb-call summary{flex:1;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14.5px;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
.mbar .mb-call summary::-webkit-details-marker{display:none}
.mbar .mb-call summary::after{content:"";width:7px;height:7px;margin-left:8px;border-right:2px solid #fff;border-top:2px solid #fff;transform:rotate(-45deg) translateY(2px);transition:transform .2s}
.mbar .mb-call[open] summary::after{transform:rotate(135deg) translateY(2px)}
.mbar .mb-menu{position:absolute;right:6px;bottom:calc(100% + 8px);min-width:220px;background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.28);padding:6px;display:flex;flex-direction:column}
.mbar .mb-menu a{flex:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:48px;padding:8px 16px;color:#1F2A24!important;border-radius:12px;font-size:17px}
.mbar .mb-menu a+a{border-top:1px solid #EFE6DA;border-radius:0 0 12px 12px}
.mbar .mb-menu a:active{background:#F6EFE5}
.mbar .mb-menu small{font-size:12px;font-weight:400;color:#5E655F}
.mbar .mb-menu strong{font-weight:600}
}
@media (min-width:641px){.mbar{display:none}}

/* v11: страница „Продукти“, котви (За нас / Контакти) и скрол под залепващото меню */
.gp-produkti .gpp-sx{margin:18px 0 28px}
.gp-produkti .gp-prod-cats{margin-top:8px}
#about,#kontakti{scroll-margin-top:16px}
@media (max-width:640px){
#about,#kontakti{scroll-margin-top:70px}
.gp-produkti{padding-bottom:84px}
.gp-produkti .gpp-sx{margin:12px 0 20px}
.gp-ftr{padding-bottom:64px}
}
