* {
    margin: 0;
}

body>header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

body>main {
    padding-top: 219px;
}

#top-bar {
    height: 62px;
    display: flex;
    align-items: center;
}

#top-bar>address {
    display: flex;
    align-items: center;
}

#top-bar>address>a::before {
    vertical-align: middle;
}

#top-bar>address>a:not(:last-child) {
    border-right: 1px solid #f4791f;
    padding-right: 12px;
}

#top-bar>address>a:not(:first-child) {
    padding-left: 12px;
}

#top-bar>address>a>span {
    display: none;
}

#top-bar>address>a#tel::before {
    content: url(graphics/tel.png);
    width: 15px;
    height: 15px;
    display: inline-block;

}

#top-bar>address>a#email::before {
    content: url(graphics/mail.png);
    width: 15px;
    height: 15px;
    display: inline-block;
}

#top-bar-icon-nav {
    margin-left: auto;
}

#search-in-top-bar {
    margin-left: 66px;
}

#cart-link-in-top-bar {
    margin-left: 17px;
}

#menu-toggle-button {
    margin-left: auto;
    margin-right: 15px;
    background-color: transparent;

    font-size: 16px;
    line-height: 26px;
    font-weight: bold;
    vertical-align: middle;
    border-radius: 4px;
    box-sizing: border-box;
    height: 32px;
}

#top-navigation {
    height: 157px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #cfcfcf;
    flex-wrap: wrap;
    justify-content: space-between;
}

#menu-toggle-button>span {
    font-size: 24px;
    margin-right: 8px;
    line-height: 26px;
    vertical-align: bottom;
}

#top-main-menu-container {
    position: absolute;
    top: 219px;
    right: 0px;
    width: 100%;
    height: calc(100vh - 219px);
    pointer-events: none;
}

#button-in-nav {
    margin-left: 0px;
    margin-right: 0px;
    height: 32px;
}

#top-main-menu-container>ul {
    display: none;
    flex-direction: column;
    padding-left: 0px;
    background-color: #fff;


    border: 1px solid #cfcfcf;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    list-style: none;

    margin-left: auto;
    margin-right: 0px;
    width: max-content;
}

#top-main-menu-container>ul>li {
    padding: 12px 20px;
}

#top-main-menu-container.open {
    background-color: rgba(0, 0, 0, 0.65);
    pointer-events: auto;
}

#top-main-menu-container.open>ul,
#top-main-menu-container.open>ul * {
    pointer-events: auto;
}

#top-main-menu-container.open>ul {
    display: flex;
}

#top-main-menu-container>ul>li>a {
    text-transform: uppercase;
    text-decoration: none;
}


/* STOPKA */

.loc-icon-of-list {
    background-image: url('graphics/adres.png');
    background-repeat: no-repeat;
    padding-left: 30px;
    background-position: 0px 6px;
}

.tel-icon-of-list {
    background-image: url('graphics/telefon.png');
    background-repeat: no-repeat;
    padding-left: 30px;
    background-position: 0px 6px;
}


.email-icon-of-list {
    background-image: url('graphics/email.png');
    background-repeat: no-repeat;
    padding-left: 30px;
    background-position: 0px 10px;
}

.empty-icon-of-list {
    padding-left: 30px;
}

#sitefooter>div:first-child {
    padding-top: 95px;
    padding-bottom: 95px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#sitefooter>div:first-child>div {
    flex-basis: 25%;
}

#sitefooter>div:first-child>div>a {
    height: 70px;
    display: block;
}

#sitefooter>div:first-child>div>h3 {
    height: 70px;
}

#sitefooter>div:first-child>div.footerinfocolumn {
    position: relative;
}

#sitefooter>div:first-child>.footeraddresscolumn>address {
    display: flex;
    flex-direction: column;
}

#sitefooter>div:first-child>.footeraddresscolumn>address>span {
    display: list-item;
    list-style: none;
}

#sitefooter>div:first-child>.footercolumn>ul {

    padding-left: 0px;
}

#sitefooter>div:first-child>.footercolumn>ul>li {
    list-style: none;
}

#sitefooter>div:nth-child(2) {
    height: 85px;
    display: flex;
    align-items: center;
}


#sitefooter>div:nth-child(2)>a {
    margin-left: auto;
}

.footercolumn>ul>li>a {
    text-decoration: none;
    color: #414042
}

.menu-toggle {
    display: none;
}

.main-header .container {
    flex-wrap: wrap;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

/* Ukrywamy menu domyślnie */
.main-navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

/* Pokazujemy menu, gdy ma klasę 'toggled' */
.main-navigation.toggled ul {
    display: flex;
}

.main-navigation ul li {
    margin: 10px 20px;
    text-align: center;
}

/* Przycisk Hamburgera - wygląd */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Przycisk Zamów Teraz na mobile */
.header-cta {
    order: 2;
    /* Logo po lewej, potem przycisk, na końcu hamburger */
}

.button-order {
    padding: 8px 18px;
    font-size: 12px;
}

/* Top bar na mobile - ukrywamy mniej ważne info lub stackujemy */
.top-bar .container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.top-bar-right {
    margin-top: 5px;
}

.footer-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolumny na tabletach */
}

.footer-widgets-grid {
    grid-template-columns: 1fr;
    /* 1 kolumna na telefonach */
}

.footer-bottom-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.main-header {
    position: relative;
}

.main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    /* Teraz 100% będzie liczone od dołu białego paska */
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 0;
    margin: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    /* Musi być nad treścią strony */
    list-style: none;
}

/* Wygląd linków w menu mobilnym */
.main-navigation ul li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
}

.main-navigation ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.main-navigation ul li a:hover {
    background-color: #f9f9f9;
    color: #FF7E31;
}

/* Naprawa przycisku burgera, żeby nie uciekał */
.menu-toggle {
    z-index: 100000;
    position: relative;
}

.top-bar {
    background: #333;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-right {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.header-cta {
    display: none;
}

.header-cta-mobile {
    background: linear-gradient(90deg, #FF7E31 0%, #E65100 100%);
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-decoration-thickness: auto;
    text-decoration-thickness: auto;
    letter-spacing: 0.5px;
    padding: 10px 28px;
    border-radius: 50px;
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.2);
    border: none;
    cursor: pointer;
    margin: auto;
    margin-bottom: auto;
    display: flex;
    justify-content: center;
    max-width: 163px;
    margin-bottom: 22px;
}

a {
    text-decoration-thickness: 0px !important;
    text-underline-offset: .1em;
}

.footer-top {
    background-color: #f1f1f1;
    padding: 10px 0;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    padding: 40px 20px;
}

.features-section-wrapper {
    padding: 0px 0px !important;
}

.reviews-section-wrapper {
    padding: 0px 0 !important;
}

.steps-section-wrapper {
    padding: 0 !important;
}

.cta-pdf-wrapper {
    padding: 0 !important;
}

.cta-pdf-content h2,
.pricing-header h2 {
    font-size: 27px !important;
}

.pricing-section-wrapper {
    background-color: #f6f7f9;
    width: 100%;
    padding: 0 !important;
}


.footer-widgets-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    font-size: 17px;
}

.hero-title {
    font-size: 31px !important;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.footer-contact-widget div,
.footer-col .social-links {
    justify-content: center;
    text-align: center;
}

.site-info .tomsky-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 26px;
    justify-content: center;
}

.footer-socials a svg {
    width: 20px;
    height: 20px;
}

.footer-socials a {
    color: #555;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #555;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.tomsky-container {
    justify-content: center;
    padding: 20px 40px;
}

.footer-bottom {
    background-color: #414042;
    color: #aaaaaa;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.scroll-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #ff6b00;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    text-decoration-thickness: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.footer-widget .widget-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-desc {
    margin-top: 20px;
}