/*
 Theme Name:   PodStopami
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Styl dla tła na całą szerokość ekranu */
.custom-description-fullwidth-bg {
    background-color: #f2f0ea;
    /* Zmień na swój kolor tła */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

/* Styl dla tekstu wewnątrz, aby trzymał się szerokości strony */
.custom-description-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 980px) {
    .custom-description-fullwidth-bg {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .custom-description-inner {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
    }
}



:root {
    --product-sticky-top: 90px;
}

@media (min-width: 769px) {
    .single-product .woocommerce-product-gallery {
        position: sticky;
        top: var(--product-sticky-top);
        align-self: flex-start;
    }
}

@media (min-width: 980px) and (max-width: 1400px) {
    .main-navigation .main-nav ul li a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 14px;
        line-height: 45px;
    }
    #primary-menu {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.nxff-section-toggle {
    padding-right: 15px;
}
.nxff-section-toggle:hover, .nxff-section-toggle:focus {
    background-color: #fff;
    color: #000;
}
[aria-label="Nawigacja pomocnicza"] a {
    transition: all 0.3s ease;
}

[aria-label="Nawigacja pomocnicza"] a:hover, [aria-label="Nawigacja pomocnicza"] a:focus {
    opacity: 0.7;
    text-decoration: underline;
}