/* =========================================
   ZARZĄDZANIE WIDOKAMI I RWD (GLOBALNE)
   ========================================= */
.mobile-only {
    display: none  ;
}
.desktop-only {
    display: flex;
}
.block-pepe-main {
    height: 0px !important;
    min-height: 0px !important;
}
/* --- 1. GŁÓWNY KONTENER (Sztywno 100% ekranu, bez scrolla) --- */
.home .block-pepe-main {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important; /* Wymusza dokładnie wysokość aktualnego okna przeglądarki */
    min-height: 100vh !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* Rozpycha: pasek na dół, reszta do góry */
    overflow: hidden !important; /* Ucina wszystko, co próbuje tworzyć pasek przewijania */
}

/* --- 2. ZIELONY PASEK CECH (Spód kanapki) --- */
.pepe-features-bar {
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
    flex-shrink: 0 !important; /* Zakazuje paskowi się kurczyć */
    z-index: 10 !important;
}

/* --- 3. KONTENER Z LOGO I KARTAMI (Farsz) --- */
.pepe-hero-container {
    flex: 1 !important; /* Każe mu wypełnić całą przestrzeń między górą a zielonym paskiem */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Idealnie środkuje logo i karty */
    padding: 80px 20px 20px !important; /* Mniejsze marginesy = więcej miejsca dla logo */
    gap: 30px !important;
    min-height: 0 !important; /* Ważne: pozwala zawartości się kurczyć, jeśli trzeba */
}

.pepe-hero-container > svg,
.pepe-hero-container > img.hero-logo {
    width: 720px !important; 
    max-width: 90% !important; 
    max-height: clamp(35vh, 80vh - 360px, 50vh) !important;
    height: auto !important;
    object-fit: contain !important;
    transform: translateX(-25px) !important;
}
.pepe-hero-container > svg, .pepe-hero-container img {
    width: 588px !important;
    height: 458px !important;
    flex-shrink: 0 !important;
    transform: translate(-25px, -32px) !important;
}

.pepe-locations-wrapper {
    gap: 120px;
    justify-content: center;
    flex-wrap: wrap;
}

.pepe-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 40px 20px;
    gap: 28px;
    border-radius: 12px;
    
    /* Poprawione tło - gradient z przeźroczystością 80% */
    background: linear-gradient(180deg, rgba(13, 83, 34, 0.8) 0%, rgba(8, 50, 20, 0.8) 100%); 
    
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif; /* Globalne wymuszenie Inter na całą kartę */
}
.pepe-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pepe-crown-icon {
    font-size: 24px;
    color: #FDC800; 
}

.pepe-card-title {
    font-family: 'Inter', sans-serif; 
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1; 
    margin: 0;
}

.pepe-card-phone {
    font-family: 'Inter', sans-serif; /* Wymuszenie fontu Inter */
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: #FDC800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pepe-card-phone a {
    color: inherit;
    text-decoration: none;
}

.pepe-btn-primary {
    font-family: 'Inter', sans-serif !important; /* Wymuszenie fontu Inter zamiast Open Sans */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    padding: 12px 2px;
    gap: 10px;
    border-radius: 8px;
    background: #CC0511 !important; /* Zmieniony kolor na CC0511 */
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    
    /* ZABEZPIECZENIA DLA PŁYNNOŚCI */
    white-space: nowrap; 
    overflow: hidden;    
    
    /* PŁYNNIEJSZA ANIMACJA (0.3s i ease-in-out) */
    transition: background-color 0.3s ease, width 0.3s ease-in-out;
}

.pepe-btn-primary:hover {
    background: #A0040D !important; /* Ciemniejszy odcień przy hoverze (opcjonalnie, można dopasować) */
    width: 200px; 
}
.pepe-card-address {
    font-family: 'Inter', sans-serif; /* Wymuszenie fontu Inter */
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4; 
    margin: 0;
}
.pepe-features-bar {
    position: relative;
    z-index: 2;
    width: 100%;
    background: #0D5322 !important; /* Zmiana koloru tła na wskazany */
    padding: 20px 0;
    margin-top: auto; 
    
    /* Zabezpieczenie, żeby pasek nie wystawał poza szerokość ekranu */
    box-sizing: border-box; 
    max-width: 100vw;
}

.pepe-features-inner {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    max-width: 1240px; 
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 40px; 
    box-sizing: border-box;
}

.pepe-feature-item {
    color: #fff;
    font-family: 'Inter', sans-serif !important; /* Wymuszenie fontu Inter */
    font-size: 20px;
    font-weight: 400; 
    letter-spacing: 0.2px;
    text-transform: uppercase;
    text-align: center;
    line-height: 100% !important;
    margin: 0px;
}

.pepe-feature-item strong,
.pepe-feature-item b {
    font-weight: 800;
    font-family: 'Inter', sans-serif !important;
}

.pepe-feature-separator {
    color: #FDC800;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Skalowanie ikon koron dokładnie do 32x24px */
.pepe-feature-separator svg,
.pepe-feature-separator img {
    width: 32px !important;
    height: 24px !important;
    object-fit: contain;
}
.mobile-only {
    display: none  ;
}
.desktop-only {
    display: flex;
}

@media (max-width: 1240px) {
.home .block-pepe-main, .pepe-hero-container {
    min-height: fit-content !important;
}
.pepe-hero-container > svg, .pepe-hero-container img { 
    height: 265px !important;
    flex-shrink: 0 !important;
    transform: translate(-25px, -32px) !important;
}
.pepe-card {
    padding: 20px 10px;
}
}
@media (min-width: 769px) {
    .pepe-mobile-nav-overlay {
        display: none !important;
    }
    

}
@media (min-width: 769px) {
    body {
        padding-bottom: 0 !important;
    }
}

 #pepe-bottom-bar-content {
        display: none !important;
    }
@media (max-width: 768px) {
    /* Przełączanie widoczności */ 
    .pepe-hero-container img {  
        transform: translate(0px, 0px) !important;
        max-width: 65%;
        max-height: fit-content; 
        height: auto !important;
    }
    #pepe-bottom-bar-content {
        display: none !important;
    }
    #pepe-bottom-bar-content.is-active {
        position: fixed;
        bottom: 0px;
        right: 0px;
        left: 0px;
        display: flex !important; 
        padding: 16px 20px;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        gap: 16px;background: var(--Color-Green-Blue-400, #0D5322);
        box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, 0.25);
        margin-bottom: 0px;
        z-index: 9999;
    }
#pepe-bottom-bar-content.is-active > a {
    display: flex;
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    color: var(--Color-Gray-Gray-900, #232323);
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    /* text-transform: uppercase; */
    gap: 0px !important;
}

#pepe-bottom-bar-content.is-active > #buttonsClose {
    width: 100%;
       color: var(--Color-Gray-Gray-900, #232323);
text-align: center;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase; display: flex;
padding: 16px 20px;
        justify-content: center; 
align-items: center;
align-self: stretch;border-radius: 8px;
background: var(--Color-Gray-Gray-50, #E9E9E9);
        max-width: stretch;
}
    #pepe-bottom-bar-content.is-active > a.pepe-nav-btn-red {
        width: 100%;
        color: var(--Color-Base-White, #FFF);
        text-align: center;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%; /* 19.6px */
        padding: 16px;
        max-width: calc(100% - 46px);

        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="22" viewBox="0 0 14 22" fill="none"><path d="M7 0.5C2.00366 0.5 -1.11862 6.05594 1.37898 10.5L7 20.5L12.621 10.5C15.1186 6.05594 11.9963 0.5 7 0.5ZM11.9316 10.0916L7 18.8666L2.06727 10.0916C1.03824 8.25989 1.03824 6.07345 2.06727 4.24169C3.09743 2.40993 4.94081 1.31671 7 1.31671C9.05919 1.31671 10.9026 2.40993 11.9316 4.24169C12.9606 6.07345 12.9606 8.25989 11.9316 10.0916Z" fill="%23FDC800"/><path d="M7 4.07135C5.33607 4.07135 3.98675 5.45741 3.98675 7.16667C3.98675 8.87592 5.33607 10.262 7 10.262C8.66393 10.262 10.0132 8.87592 10.0132 7.16667C10.0132 5.45741 8.66393 4.07135 7 4.07135ZM7 9.44528C5.77675 9.44528 4.7818 8.42323 4.7818 7.16667C4.7818 5.9101 5.77675 4.88805 7 4.88805C8.22324 4.88805 9.2182 5.9101 9.2182 7.16667C9.2182 8.42323 8.22324 9.44528 7 9.44528Z" fill="%23FDC800"/><path d="M7 0.5C2.00366 0.5 -1.11862 6.05594 1.37898 10.5L7 20.5L12.621 10.5C15.1186 6.05594 11.9963 0.5 7 0.5ZM11.9316 10.0916L7 18.8666L2.06727 10.0916C1.03824 8.25989 1.03824 6.07345 2.06727 4.24169C3.09743 2.40993 4.94081 1.31671 7 1.31671C9.05919 1.31671 10.9026 2.40993 11.9316 4.24169C12.9606 6.07345 12.9606 8.25989 11.9316 10.0916Z" stroke="%23FDC800"/><path d="M7 4.07135C5.33607 4.07135 3.98675 5.45741 3.98675 7.16667C3.98675 8.87592 5.33607 10.262 7 10.262C8.66393 10.262 10.0132 8.87592 10.0132 7.16667C10.0132 5.45741 8.66393 4.07135 7 4.07135ZM7 9.44528C5.77675 9.44528 4.7818 8.42323 4.7818 7.16667C4.7818 5.9101 5.77675 4.88805 7 4.88805C8.22324 4.88805 9.2182 5.9101 9.2182 7.16667C9.2182 8.42323 8.22324 9.44528 7 9.44528Z" stroke="%23FDC800"/></svg>');
        background-repeat: no-repeat;
        background-position: 10px center;
        padding-left: 30px;

    }   
    #pepe-bottom-bar-content.is-active > a span {
        gap: 0px !important;
    }
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; }

  
    body {
        padding-bottom: 90px; 
    }

  
    .block-pepe-main {
        height: 100vh; 
        min-height: 620px;
        justify-content: center; 
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        overflow: hidden; 

    }
    .block-pepe-main.rooster-block.alignfull {
       
        padding-left: 0px  !important;
        padding-right: 0px !important;
    }

    .pepe-hero-container {
        padding: 0; 
        gap: 20px !important; 
        height: 100%;
        margin-bottom: 0;
        justify-content: center; 
        padding-top: 50px !important;
    }

  .pepe-hero-container > svg {
        width: 90% !important; /* Zajmie 90% szerokości ekranu, zostawiając mały margines */
        max-width: 350px !important; /* Zabezpieczenie, żeby nie było za wielkie */
        height: auto !important; /* Skaluje wysokość proporcjonalnie do szerokości */
        transform: none !important; /* Usuwa przesunięcie z desktopu, żeby logo było na środku */
    }
} 

    .pepe-mobile-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .pepe-mobile-hero-title {
       font-size: 36px; /* Zwiększone z 28px, żeby dopasować do projektu */
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.1;
    margin: 0  ;
    padding: 0 15px; /* Chroni przed przyklejaniem się do krawędzi ekranu */
}

    .pepe-mobile-features-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px; 
        width: 100%;
    }

    .pepe-mobile-feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px; 
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
    }

    .pepe-mobile-feature-item strong {

        font-weight: 500;
    }
    
    .pepe-mobile-feature-item .pepe-crown-icon {
        font-size: 20px;
        line-height: 1;
        width: 31px;
        height: 16px;
        aspect-ratio: 31 / 16;
    }
    .pepe-mobile-feature-item .pepe-crown-icon svg { 
        width: stretch;
        rotate: 12deg;
    }
    .pepe-mobile-menu-btn {
        position: fixed; 
        top: 20px;       
        right: 20px;     
        z-index: 9997;   
        justify-content: flex-end;
        align-items: center;
        cursor: pointer;
    }

    .hamburger-container {
        display: inline-flex;
        padding: 14px 12px; 
        justify-content: center;
        align-items: center;
        border-radius: 4px; 
        background: #19A544; 
    }

    .pepe-sticky-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        background-color: var(--Color-Green-Blue-900, #0A421B); 
        padding: 20px 28px;
        box-sizing: border-box;
        z-index: 9998; 
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2); 
    }

    .pepe-sticky-btn {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 6px;
        background-color: var(--Color-Red-Orange-900, #E30613); 
        padding: 16px 20px;
        border-radius: 8px;
        text-decoration: none;
        color: #fff;
    }

    .pepe-sticky-btn-bold {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .pepe-sticky-btn-light {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 500;
    }

    .pepe-sticky-icon {
        margin-left: 4px;
    }

    .pepe-mobile-nav-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        background-color: var(--Color-Green-Blue-900, #0A421B); 
        z-index: 10000; 
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .pepe-mobile-nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .pepe-nav-inner {
        padding: 20px 20px 40px 20px;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .pepe-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        height: 40px; 
    }

    .pepe-nav-close {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pepe-nav-subtitle {
        color: white;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 12px 0;
    }

    .pepe-nav-red-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px; 
    }

    .pepe-nav-btn-red {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #E30613; 
        color: white;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
    }

    .pepe-nav-btn-red .btn-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .pepe-nav-links-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pepe-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.05); 
        color: white;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
    }

    .pepe-nav-link-yellow {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #FDC800; 
        color: black;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
    }

    .pepe-nav-socials {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: auto; 
    }

    .social-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.3); 
        border-radius: 8px;
        text-decoration: none;
    }
    /* --- WYMUSZENIE UKRYCIA MOBILNEGO PASKA NA DESKTOPIE --- */
@media (min-width: 769px) {
    .pepe-sticky-bottom-bar {
        display: none !important;
    }
}
