/* ===== Globalny fix: zero poziomego przewijania strony ===== */
html,body{overflow-x:hidden;max-width:100%;}

/* ===== Hamburger + drawer mobilny (wzorzec medleafcare, paleta mojarecepta) ===== */
.navbar-hamburger{display:none;background:none;border:none;cursor:pointer;padding:8px;color:var(--navy);align-items:center;justify-content:center;min-width:44px;min-height:44px;}
.navbar-left-group{display:flex;align-items:center;gap:10px;}

.mobile-drawer{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;display:none;}
.mobile-drawer.open{display:block;}
.mobile-drawer-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.4);}
.mobile-drawer-panel{position:absolute;top:0;left:0;bottom:0;width:82%;max-width:340px;background:white;overflow-y:auto;padding:20px;transform:translateX(-100%);transition:transform .25s ease;}
.mobile-drawer.open .mobile-drawer-panel{transform:translateX(0);}
.mobile-drawer-close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--bg);border:none;border-radius:8px;margin-bottom:20px;cursor:pointer;}
.mobile-drawer-cta{display:block;text-align:center;background:var(--teal);color:white;font-weight:700;padding:14px;border-radius:6px;margin-top:20px;}

.mobile-section{margin-bottom:22px;}
.mobile-section-title{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;padding-top:14px;border-top:1px solid var(--bg);}
.mobile-section:first-of-type .mobile-section-title{border-top:none;padding-top:0;}
.mobile-section a,.mobile-section span.mobile-nav-disabled{display:flex;align-items:center;padding:11px 4px;font-size:14px;font-weight:600;color:var(--navy);min-height:40px;}
.mobile-section span.mobile-nav-disabled{color:var(--muted);font-weight:500;}

@media(max-width:900px){
    .navbar-nav,.navbar-cta-outline{display:none!important;}
    .navbar-hamburger{display:flex;}
    .navbar-logo-sub{display:none;}
    .navbar-logo-text{font-size:15px;}
    .navbar-cta-primary{margin-left:auto;font-size:11px;padding:9px 14px;white-space:nowrap;}
}

/* ===== Karuzele mobilne dla sekcji z wiecej niz 2 kafelkami ===== */
@media(max-width:768px){
    .mobile-carousel{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:14px!important;padding-bottom:6px;scrollbar-width:none;}
    .mobile-carousel::-webkit-scrollbar{display:none;}
    .mobile-carousel > *{scroll-snap-align:start;flex:0 0 78%;min-width:0;}
}
