@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&display=swap');
/* ============================================================
   STYLING MENU SYTO
   ============================================================ */

/* --- PRZYCISK (BURGER) --- */
.syto-burger-btn {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
    border: none !important;
}

.syto-burger-btn:hover {
    transform: scale(1.05) !important;
}

/* Obrót kwadratu o 45° po aktywacji (BEZ zmiany koloru) */
.syto-burger-btn.active {
    transform: rotate(45deg) !important;
}

.syto-burger-btn.active:hover {
    transform: rotate(45deg) scale(1.05) !important;
}

/* --- NAPIS "ME NU" --- */
.syto-burger-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 0.85 !important;
    font-family: 'Arial', sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    letter-spacing: -0.5px !important;
    color: #375424 !important;
    user-select: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform-origin: center center !important;
    transform: rotate(0deg) !important;
}

/* Napis obraca się RAZEM z kwadratem (dziedziczy 45 stopni, bez kontry) */
.syto-burger-btn.active .syto-burger-box {
    transform: rotate(0deg) !important;
}

.syto-burger-text-1, .syto-burger-text-2 { display: block !important; }

.syto-burger-row {
    display: flex !important;
    align-items: flex-end !important;
    gap: 0px !important;
    position: relative !important;
    left: -6px !important;
}

.syto-burger-dot {
    width: 5px !important;
    height: 5px !important;
    background-color: #375424 !important;
    display: inline-block !important;
    margin-bottom: -5px !important;
    margin-right: 1px !important; 
}

.syto-burger-btn:hover .syto-burger-dot {
    background-color: #e6b906 !important;
}

/* --- OVERLAY (TŁO MENU) --- */
.syto-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #FBF3DB !important;
    
    /* ZMIEŃ TO NA MAKSYMALNĄ WARTOŚĆ */
    z-index: 999 !important; 
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 40px 60px !important;
    box-sizing: border-box !important;
    clip-path: inset(30px 30px calc(100vh - 90px) calc(100vw - 90px)) !important;
    -webkit-clip-path: inset(30px 30px calc(100vh - 90px) calc(100vw - 90px)) !important;
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), -webkit-clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1) !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.syto-menu-overlay.active {
    clip-path: inset(0 0 0 0) !important;
    -webkit-clip-path: inset(0 0 0 0) !important;
    pointer-events: all !important;
    visibility: visible !important;
}

/* NOWA KLASA: Twarda blokada przewijania strony w tle */
body.syto-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.syto-menu-header { flex: 0 0 auto !important; }

.syto-brand-tag {
    font-size: 13px !important; font-weight: 700 !important; letter-spacing: 1px !important;
    color: #375424 !important; text-transform: uppercase !important;
}

.syto-menu-footer {
    display: flex !important; justify-content: space-between !important;
    color: #375424 !important; font-size: 14px !important; font-weight: 600 !important;
    border-top: 1px solid rgba(55, 84, 36, 0.15) !important; padding-top: 15px !important;
    flex: 0 0 auto !important;
}

.syto-menu-content {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    width: 100% !important; max-width: 1200px !important; margin: 0 auto !important;
    flex: 1 1 auto !important; gap: 40px !important;
}

.syto-menu-nav { display: flex !important; flex-direction: column !important; gap: 8px !important; }

.syto-menu-link {
    display: flex !important; 
    align-items: baseline !important; 
    gap: 15px !important;
    text-decoration: none !important; 
    color: #375424 !important; 
    opacity: 0.7 !important;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem) !important; 
    font-weight: 800 !important;
    text-transform: uppercase !important; 
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    font-family: 'Sora', Arial, sans-serif !important;
}

.syto-menu-num { font-size: 1rem !important; font-weight: 700 !important; color: #E25E25 !important; }
.syto-menu-link:hover { opacity: 1 !important; transform: translateX(12px) !important; }


/* ============================================================
   LŻEJSZA, PŁYNNA ANIMACJA ZDJĘĆ PRODUKTÓW (FADE-IN + SUBTELNY ZOOM)
   ============================================================ */

.syto-products-preview {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    width: auto !important;
    height: 380px !important;
    
    opacity: 0 !important; 
    visibility: hidden !important;
    transform: scale(0.97) !important;
    
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s ease-out !important;
    pointer-events: none !important;
    will-change: opacity, transform !important;
}

.syto-products-preview.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

/* Zdjęcia - ułożone obok siebie, w pełni widoczne, bez przycinania */
.syto-prod-img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 140px !important;
    height: 320px !important;
    object-fit: contain !important;
    
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.95) !important;
    
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s ease-out !important;
    will-change: opacity, transform !important;
}

/* Stan aktywny zdjęć */
.syto-products-preview.active .syto-prod-img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

/* Delikatny hover na pojedyncze zdjęcie */
.syto-products-preview.active .syto-prod-img:hover {
    transform: scale(1.03) !important;
    z-index: 10 !important;
}

/* Bezwarunkowe ukrywanie pustych zdjęć */
.syto-prod-img.img-hidden,
.syto-prod-img:not([src]),
.syto-prod-img[src=""],
.syto-prod-img[src="#"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.syto-products-preview.active .syto-prod-img.img-hidden,
.syto-products-preview.active .syto-prod-img:not([src]),
.syto-products-preview.active .syto-prod-img[src=""] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* ============================================================
   POPRAWKI DLA MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .syto-burger-btn { top: 15px !important; right: 15px !important; width: 50px !important; height: 50px !important; }
    .syto-burger-box { font-size: 14px !important; }
    .syto-products-preview { display: none !important; }
    .syto-menu-overlay {
        padding: 20px 30px !important;
        clip-path: inset(15px 15px calc(100vh - 65px) calc(100vw - 65px)) !important;
        -webkit-clip-path: inset(15px 15px calc(100vh - 65px) calc(100vw - 65px)) !important;
    }
    .syto-menu-overlay.active {
        clip-path: inset(0 0 0 0) !important;
        -webkit-clip-path: inset(0 0 0 0) !important;
    }
    .syto-menu-content { flex-direction: column !important; align-items: flex-start !important; margin-top: 30px !important; }
    .syto-menu-link { font-size: clamp(1.5rem, 6vw, 2rem) !important; gap: 10px !important; }
}