/*
Theme Name: DEFRO - Czyste ciepło
Description: Ekologiczne kotły, 5 Klasa, Ekodesign, Kotły na dotację - pellet - ekogroszek - kotły dużej mocy
Author: Bartłomiej Kozieł
Project and implementation: Bartłomiej Kozieł
Version: 1.0
*/

/* ==========================================================================
   FONTS
   ========================================================================== */

@font-face {
    font-family: 'verlagbook';
    src: url('assets/fonts/verlag-book-subset.woff2') format('woff2'),
         url('assets/fonts/verlag-book-subset.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Poppins */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    --white: #ffffff;
    --black: #000;
    --dark: #333333;
    --dgray: #292a2b;

    --red: #e52a3b;
    --blue: #3e97cb;
    --brown: #ae7c58;
    --green: #11a480;
    --gray: #bababa;
    --lgray: #F2F2F2;
    --gold: #d1b74d;
    --yellow: #e6e851;

    --offset-header: 100px;

    /* NOTE: zostawiam nazwę bez zmian (literówka) żeby nic nie zepsuć */
    --selcetion: #e52a3b;

    --menufontsize: 19px;
    --textfontsize: 16px;
    --inputfontsize: 16px;
    --input_placeholder: 0.9em;

    --h1fontsize: 45px;
    --h2fontsize: 45px;
    --h3fontsize: 30px;
    --h4fontsize: 24px;
    --h5fontsize: 20px;
    --h6fontsize: 18px;

    --lineheight: 1.5em;
    --headlineheight: 1.2em;

    --standoffset: 90px;
    --midffset: 50px;
    --smalloffset: 30px;

    --mainfont: 'Roboto';
    --headfont: 'Poppins';

    --fontweight: 300;
    --fontweightlight: 300;
    --headweight: 400;

    --container_width: 1170px;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

* {
    touch-action: manipulation;
}

input,
select,
textarea,
button {
    font-size: 16px;
}

body {
    color: var(--dark);
    font-size: var(--textfontsize);
    line-height: var(--lineheight);
    font-weight: var(--fontweight);
    font-family: var(--mainfont);
}

ul { list-style: none; padding: 0; margin: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }

img { max-width: 100%; height: auto; vertical-align: middle; }
iframe, video { max-width: 100%; }

a { text-decoration: none; color: var(--dark); }
a:hover { text-decoration: none; color: var(--red); transition: 0.3s; }
a:focus, a:visited { text-decoration: none; outline: none; }

::selection { color: var(--white); background-color: var(--selcetion); }
::-moz-selection { color: var(--white); background-color: var(--selcetion); }

.nav > li > a:hover,
.nav > li > a:focus { background: none; outline: none; }

.navbar-top a:focus { outline: none; }

.otgs-development-site-front-end { display: none !important; }

/* ==========================================================================
   SLICK (bez zmian merytorycznych)
   ========================================================================== */

.slick-list, .slick-slider, .slick-track { position: relative; display: block; }
.slick-loading .slick-slide, .slick-loading .slick-track { visibility: hidden; }
.slick-slider {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}
.slick-list { margin: 0; padding: 0; }
.slick-list:focus { outline: 0; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-list, .slick-slider .slick-track {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.slick-track { top: 0; left: 0; }
.slick-track:before, .slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-slide { display: none; float: left; min-height: 1px; }
[dir=rtl] .slick-slide { float: right; }
.slick-slide img { display: block; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; position: relative; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }

/* ==========================================================================
   GENERAL UTILS / TYPOGRAPHY
   ========================================================================== */

.offset-top { margin-top: var(--standoffset); }
.offset-bottom { margin-bottom: var(--standoffset); }
.offset-top-30 { margin-top: var(--smalloffset); }
.offset-top-15 { margin-top: calc(var(--smalloffset) / 2); }
.offset-bottom-30 { margin-bottom: var(--smalloffset); }
.offset-top-50 { margin-top: var(--midffset); }
.offset-bottom-50 { margin-bottom: var(--midffset); }

.p-top { padding-top: var(--standoffset); }
.p-bottom { padding-bottom: var(--standoffset); }
.p-top-30 { padding-top: var(--smalloffset); }
.p-bottom-30 { padding-bottom: var(--smalloffset); }

.align-right { float: right; }
.txt-center { text-align: center; }
.text-left { text-align: left; }
.txt-right { text-align: right; }
.justify-text { text-align: justify; }

h1, h2, h3, h4, h5, h6, .header-h2 {
    font-family: var(--headfont);
    line-height: var(--headlineheight);
    font-weight: var(--headweight);
}
h1 { font-size: var(--h1fontsize); }
h2, .header-h2 { font-size: var(--h2fontsize); display: block; }
h3 { font-size: var(--h3fontsize); display: inline-block; font-weight: var(--fontweight); }
h4 { font-size: var(--h4fontsize); }
h5 { font-size: var(--h5fontsize); }
h6 { font-size: var(--h6fontsize); }

strong { font-weight: 700; }
.terms h4{
    font-size: 1.3em;
    margin-top: 20px;
    display: block;
}
.terms h2{
     font-size: var(--h4fontsize);
     margin-top: 20px;
     margin-bottom: 20px;
}
.txt-black { color: var(--dark); }
.txt-blue { color: var(--blue); }
.txt-white, .txt-white a { color: var(--white); }
.txt-red { color: var(--red); }
.txt-green { color: var(--green); }

.bckg-red { background-color: var(--red); }
.bckg-gray { background-color: var(--gray); }
.bckg-white { background-color: var(--white); }
.bckg-dgray { background-color: var(--dgray); }
.bckg-dark { background-color: var(--dark); }

.top-border { border-top: 2px solid var(--white); margin-top: 30px; }
blockquote { display: block; padding: 20px; box-sizing: border-box; -webkit-box-sizing: border-box; font-size: 1.2em; line-height: var(--lineheight); margin: 0; }
.map iframe { width: 100%; height: 400px; }
.fixedbg { background-attachment: fixed; background-position: center; background-size: cover; }

.hideme { display: none; }

ul.styledlist{
  padding-bottom: 10px;
}
ul.styledlist li{
  position: relative;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 2px;
}
ul.styledlist li:before {
    content: "";
    background-image: url(https://www.defro.pl/wp-content/uploads/2023/07/checked1.svg);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    z-index: 10;
    top: 7px;
}
ul.styledlist li ol li:before{
    display: none;
}
ul.styledlist li ol {
    padding-left: 30px;
}
ul.styledlist li ol li{
    list-style-type: circle;
    padding-left: 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input::placeholder,
textarea::placeholder,
select,
select option { font-size: var(--input_placeholder); }

input,
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    font-family: var(--mainfont), sans-serif;
    font-size: var(--inputfontsize);
    font-weight: var(--fontweightlight);
    -webkit-appearance: none;
    box-shadow: none;
    border: 1px solid var(--gray);
    padding: 5px 10px;
    min-height: 45px;
    line-height: 1.8em;
    width: 100%;
    margin-bottom: 15px;
    font-size: 0.8em;
    border-radius: 0;
}

select {
    -moz-appearance: none;
    appearance: none;
    line-height: 33px;
}

input[type="radio"] {
    width: auto;
    min-height: auto;
    padding: 3px;
    margin-left: 10px;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

.wpcf7-list-item { margin-left: 0; }

input:focus,
button:focus,
select:focus,
textarea:focus { outline: none; }

.checkbox-label {
    position: relative;
}

/* UNIWERSALNY CUSTOM CHECKBOX */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background-color: transparent;
    background-image: url('/storage/images/theme/checkbox.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    flex: 0 0 20px;
}
#tab-consents input[type="checkbox"] {
    width: 0;
    height: 0;
    display: contents;
}

/* focus / active */
input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible,
input[type="checkbox"]:active {
    outline: none !important;
    box-shadow: none !important;
}

/* safari extra cleanup */
@supports (-webkit-touch-callout: none) {
    input[type="checkbox"] {
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}

/* stan checked */
input[type="checkbox"]:checked {
    background-image: url('/storage/images/theme/checkbox-check.svg');
}

/* biały wariant */
input[type="checkbox"].white-checkbox {
    background-image: url("/storage/images/theme/checkbox-white.svg");
}

input[type="checkbox"].white-checkbox:checked {
    background-image: url("/storage/images/theme/checkbox-check-white1.svg");
}

/* focus bez safariowego poswitu */
input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: none;
}

/* disabled opcjonalnie */
input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* jeżeli chcesz zachować lekkie przesunięcie w wizardzie */
.registration-wizard input[type="checkbox"] {
    top: -1px;
}

/* auth */
.auth-remember input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    position: relative;
    top: 0;
}

/* ==========================================================================
   MEDIA / EFFECTS
   ========================================================================== */

.zoomIt, .wp-block-image, .zoomIt picture {
    position: relative;
    overflow: hidden;
    display: block;
}
.zoomIt div, .zoomIt img, .wp-block-image img {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.zoomIt:hover > div,
.zoomIt:hover > img,
.wp-block-image a:hover > img,
.zoomIt picture:hover > img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.video-responsive,
.wp-block-embed__wrapper {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.video-responsive iframe,
.wp-block-embed__wrapper iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.form-close { position: absolute; top: 8px; right: 15px; width: 15px; cursor: pointer; }
.lg100 { display: block; width: 100%; position: relative; }

.coverimg, .coverimg picture {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-content: center;
}
.coverimg img {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -o-object-fit: cover;
    object-fit: cover;
}

.txt-content p { margin-bottom: 20px; }
.txt-content ul { padding-top: 15px; padding-bottom: 30px; }
.txt-content ul li { padding-left: 30px; position: relative; padding-bottom: 10px; }
.txt-content ul li:before {
    content: "";
    background-image: url('/wp-content/uploads/2023/07/checked1.svg');
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    z-index: 10;
    top: 3px;
}
.txt-content ul.reku-list li { padding-left: 50px; margin-bottom: 10px; }
.txt-content ul.reku-list li:before {
    background-image: url('/wp-content/uploads/2023/09/checked-list.svg');
    width: 30px;
    height: 30px;
    top: -5px;
}

/* ==========================================================================
   LAYOUT / GRID
   ========================================================================== */

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.container {
    display: block;
    position: relative;
    width: var(--container_width);
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1180px !important; /* zachowane */
}
.container:after,
.row:after { clear: both; }

.row-margin { margin-left: -15px; margin-right: -15px; }
.padding-15 { padding-left: 15px; padding-right: 15px; }
.prelative { position: relative; }

.d-flex { display: flex; }
.d-grid { display: grid; }

.gap-15 { gap: 15px; }
.gap-30 { gap: 30px; }
.gap-50 { gap: 50px; }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.justify-spaceb { justify-content: space-between; }
.align-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }

.centerMe { margin: auto; display: table; }

/* Columns */
.lg20 { flex: 0 0 20%; max-width: 20%; }
.lg25 { flex: 0 0 25%; max-width: 25%; }
.lg30 { flex: 0 0 30%; max-width: 30%; }
.lg33 { flex: 0 0 33.333%; max-width: 33.333%; }
.lg40 { flex: 0 0 40%; max-width: 40%; }
.lg50 { flex: 0 0 50%; max-width: 50%; }
.lg60 { flex: 0 0 60%; max-width: 60%; }
.lg66 { flex: 0 0 66.666%; max-width: 66.666%; }
.lg70 { flex: 0 0 70%; max-width: 70%; }
.lg75 { flex: 0 0 75%; max-width: 75%; }
.lg80 { flex: 0 0 80%; max-width: 80%; }
.lg90 { flex: 0 0 90%; max-width: 90%; }
.lg10 { flex: 0 0 10%; max-width: 10%; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button,
body .wpcf7-submit,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce a.button,
.woocommerce #respond input#submit {
    display: inline-block;
    padding: 15px 30px;
    position: relative;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    font-weight: var(--fontweight);
    text-align: center;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    margin-top: 30px;
    background: transparent;
}

.btn-border,
.add_to_cart_button,
.woocommerce a.button {
    border: 3px solid var(--dgray);
    color: var(--dark);
}

.btn-fill,
body .wpcf7-submit,
.single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce #respond input#submit {
    background-color: var(--dgray);
    border: 1px solid transparent;
    color: var(--white);
}

.btn-black { background-color: var(--dark); color: var(--white); }

.wpcf7-submit, .button { -webkit-appearance: none; }

.btn:hover { color: white; }

.read-more {
    padding: 15px 30px;
    position: relative;
    margin-top: 30px;
    display: inline-block;
}
.read-more:after,
.read-more:before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background-color: var(--dark);
    z-index: 9;
    bottom: 0;
    left: 0;
    transition: 0.4s;
    -webkit-transition: 0.4s;
}
.read-more:after { width: 100%; }
.read-more.txt-white:before,
.read-more.txt-white:after { background-color: var(--white); }

.read-more:hover:before {
    width: 100%;
    z-index: 10;
    background-color: var(--red);
}
.read-more.txt-white:hover { color: var(--white); }
.read-more:hover > img {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    transform: translatex(10px);
}

.button:hover,
.button.button.alt:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
}

.btn-outline-primary { border: 1px solid var(--red); }
.btn-border.btn-outline-primary { border-width: 1px; }

.pagewhitecontent { position: relative; z-index: 50; background-color: var(--white); }
.nav ul li { display: inline-block; float: left; }

/* ==========================================================================
   MENU BURGER
   ========================================================================== */

#burger {
    margin: auto;
    width: 40px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    z-index: 99;
}

#burger span {
    background-color: var(--white);
    height: 4.1px;
    position: absolute;
    width: 100%;
    left: 0;
    transition: all 0.3s ease;
}

.header-top.bg-white #burger span { background-color: var(--dark); }
.header-top.bg-white { background-color: var(--white); }

#burger span:first-child { top: -1px; }
#burger span:nth-child(2) { top: 9px; }
#burger span:last-child { top: 18.6px; }

#burger.active-menu span:nth-child(2) { opacity: 0; }
#burger.active-menu span:first-child,
#burger.active-menu span:last-child { top: 9px; }
#burger.active-menu span:first-child { transform: rotate(45deg); }
#burger.active-menu span:last-child { transform: rotate(-45deg); }

/* ==========================================================================
   HEADER TOP / NAV
   ========================================================================== */

.header-top {
    display: flex;
    align-items: center;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: transform .35s ease, background-color .3s ease, box-shadow .3s ease, opacity .25s ease;
}

.header-top.is-hidden { opacity: 0; pointer-events: none; transform: translateY(-20px); }
.header-top.is-solid { position: fixed; background: #292a2b; box-shadow: 0 6px 20px rgba(0,0,0,0.08); z-index: 999; }

.offset-header { padding-top: var(--offset-header); }
.offset-header-mt { margin-top: var(--offset-header); }

.header-top .menu-text {
    color: #fff;
    position: absolute;
    left: 65px;
    top: 0;
    margin: auto;
    bottom: 0;
    cursor: pointer;
    height: fit-content;
    padding: 0;
}

.header-top.bg-white .menu-text { color: var(--dark); }

.header-top .user-menu a { color: var(--dark); }
.header-top .right-menu { align-items: stretch; display: flex; }

.header-top .btn-header-login {
    transition: all 0.3s ease;
    padding: 8px 22px;
    background-color: var(--white);
    color: var(--dark);
    height: 38px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* HOVER */
.header-top .btn-header-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    background-color: #f8f9fa;
}

/* ACTIVE (kliknięcie) */
.header-top .btn-header-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.header-top .btn-header-register {
    border: 1px solid white;
    border-radius: 5px;
    height: 35.6px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.reg-span {
    position: absolute;
    transform: scale(0);
    transition: 0.3s;
    padding: 5px;
    bottom: -30px;
    font-size: 10px;
    background-color: rgba(0,0,0,0.06);
    color: white;
    border-radius: 10px;
}
.header-top .btn-header-register:hover > .reg-span { transform: scale(1); }

/* Logo */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-top .logo img {
    max-width: 200px;
    margin: auto;
    display: table;
}
.logo img {
    width: 185px;
    padding-left: 15px;
}

.header-top .header-logo {
    width: 180px;
    padding-right: 15px;
    padding-left: 15px;
    display: block;
}

.header-top .navbar-top a {
    font-size: 1.2em;
    color: white;
    padding: 15px;
}
.header-top .navbar-top li { list-style-type: none; }

.navbar-user a {
    color: white;
    padding: 20px;
    display: inline-block;
}

.header-white { background-color: white; }
.header-white.header-top a,
.header-white .user-dropdown button { color: var(--dark); }

/* Left menu bar */
.header-top .left-menu-bar li { position: relative; }
.header-top .left-menu-bar a {
    color: var(--white);
    font-size: var(--menufontsize);
    padding: 10px 30px;
    display: block;
}
.header-top.bg-white .left-menu-bar a { color: var(--dark); }

.header-top .left-menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    padding-left: 50px;
    display: flex;
    align-items: center;
    height: 100vh;
    padding-top: 63px;
    transition: 0.3s;
    width: 0;
    transform: translatex(-100px);
    overflow: hidden;
}
.header-top.bg-white .left-menu-bar {
    background: rgba(255, 255, 255, 0.94);
}
.header-top .left-menu-bar.navbar-active {
    width: 50%;
    overflow: visible;
    transform: translatex(0);
}

.right-btn-top { position: absolute; right: 0; top: 17px; }

.header-top .left-menu-bar:after {
    content: "";
    top: 0;
    left: 100%;
    right: 0;
    background-color: rgba(0,0,0,0.3);
    height: 100vh;
    position: absolute;
    transition: 0.3s;
    transition-delay: 0.6s;
}
.header-top .left-menu-bar.navbar-active:after { right: -100%; }

.header-top .logo { display: table; margin: auto; text-align: center; }

.header-top .left-menu-bar ul li {
    transform: translatex(-100px);
    transition: 0.3s;
}
.header-top .left-menu-bar.navbar-active ul li { transform: translatey(0); }

.header-top .left-menu-bar ul li > ul.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 350px;
    transition: 0.3s;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.header-top .left-menu-bar ul li:hover > ul.sub-menu {
    max-height: 550px;
    opacity: 1;
}
.header-top .left-menu-bar ul li:hover > ul.sub-menu li a {
    padding-bottom: 7.5px;
    padding-top: 7.5px;
}

/* User dropdown */
.user-dropdown { position: relative; }

.user-dropdown-menu {
    transition: all 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    position: absolute;
    top: 30px;
    left: -15px;
    right: -15px;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
}
.header-top.is-solid .user-dropdown-menu { background-color: rgba(101, 101, 101, 0.8); }

.user-dropdown button {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1em;
}
.user-dropdown button.logout { color: var(--red); }
.user-dropdown button svg { width: 20px; }

.user-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.user-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}
.user-dropdown-item i { margin-right: 5px; }

/* ==========================================================================
   PAGEBANNER
   ========================================================================== */

.pagebanner { overflow: hidden; height: 100vh; }

.pagebanner h1, .pagebanner h2 {
    line-height: 1.3em;
    font-size: 52px;
    color: var(--white);
}

.pagebanner .pb-image img {
    min-width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* zachowane – finalna wersja gradientu (usuniete powtorzenie) */
.pb-image:after {
    content: "";
    display: block;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.4) 36%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0.2) 90%,
        rgba(0,0,0,0.1) 100%
    );
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
}

.pb-desc {
    position: absolute;
    top: 50%;
    transform: translatey(-40%);
    z-index: 99;
    color: var(--white);
}

.pb-desc .read-more:after { background-color: var(--white); }

.scroll-down {
    position: absolute;
    top: calc(100% - 80px);
    right: 0;
    left: 0;
    text-align: center;
    z-index: 100;
    margin: auto;
    color: var(--white);
    cursor: pointer;
}
.scroll-down b {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 0.8em;
}
.scroll-down img {
    width: 27px;
    animation: movedown 2s infinite;
    animation-timing-function: linear;
}

@keyframes movedown {
    0% { transform: translatey(0px); }
    25% { transform: translatey(-5px); }
    50% { transform: translatey(-0px); }
    75% { transform: translatey(5px); }
    100% { transform: translatey(0px); }
}

/* ==========================================================================
   MULTISTEP FORM + FILE UI
   ========================================================================== */

.form-step { display: none; }
.form-step.active { display: grid; }

.error { border-color: #dc3545 !important; }

.invalid-feedback {
    display: block;
    width: 100%;
    transform: translateY(-15px);
    position: absolute;
    font-size: 0.8em;
    color: #dc3545;
}

.file-wrapper { position: relative; margin-bottom: 1rem; }

.selected-files-list {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
}

.selected-file-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.selected-file-item:last-child { border-bottom: none; }

.selected-file-item i { margin-right: 8px; color: #666; }

.selected-file-item span {
    flex: 1;
    margin-right: 8px;
    word-break: break-all;
}

.total-files {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
}

.file-size-warning {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 4px;
}

/* ==========================================================================
   AUTH (login/register)
   ========================================================================== */

.auth-hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}
.auth-bg img {
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0);
}
.auth-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            1200px 600px at 10% 10%,
            rgba(255,255,255,0.18) 0%,
            rgba(255,255,255,0.03) 45%,
            rgba(0,0,0,0.60) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.75) 70%,
            rgba(0,0,0,0.85) 100%
        );
    pointer-events: none;
    will-change: opacity, transform;
    transform: translateZ(0);
}
.auth-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    z-index: 100;
}
.auth-scroll {
    position: absolute;
    left: 0; right: 0; bottom: 15px;
    margin: 0 auto;
    display: inline-block;
    width: 200px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    z-index: 120;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.auth-scroll:hover { transform: translateY(1px); background: rgba(255,255,255,0.22); }
.auth-scroll i { animation: movedown 1.8s infinite linear; }

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    color: var(--white);
    will-change: opacity, transform;
    transform: translateZ(0);
}

.auth-brand { position: fixed; left: 30px; top: 0; display: flex; justify-content: center; margin-bottom: 10px; }
.auth-brand img { height: 50px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.auth-title { color: var(--white); text-align: center; margin-bottom: 18px; font-size: 22px; }

.auth-form { position: relative; }

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-input-group:focus-within {
    border-color: rgba(229,42,59,0.8);
    box-shadow: 0 0 0 3px rgba(229,42,59,0.15);
    background: rgba(255,255,255,0.22);
}
.auth-icon { color: rgba(255,255,255,0.9); margin-right: 10px; display: inline-flex; }
.auth-icon i { font-size: 14px; }

.auth-input-group input {
    background: transparent;
    border: 0;
    color: var(--white);
    width: 100%;
    margin-bottom: 0;
}
.auth-input-group input::placeholder { color: rgba(255,255,255,0.85); }

.auth-error { display: block; color: #ffb3b3; font-size: .85em; margin-top: -6px; margin-bottom: 10px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 8px 2px 0; }
.auth-card .auth-row { margin-top: 12px; }

input[type="checkbox"] { margin-right: -10px!important;}
.auth-remember{display: flex;gap: 15px;align-items: center;opacity: 0;}
.auth-link { color: #fff; }
.auth-link:hover { color: var(--red); }

.btn { display: flex; align-items: center; padding: 7px 15px; gap: 5px;}
.btn img { margin-right: 5px; width: 22px; height: 22px; }
.btn-outline-primary{border-radius: 5px;}
.btn-outline-primary:hover{color: var(--dark);}

.btn-primary { background: var(--red) !important; border: 1px solid transparent; color: #fff; border-radius: 5px;}
.btn-success { background: var(--green) !important; border: 1px solid transparent; color: #fff; border-radius: 5px;}
.btn-primary:hover { filter: brightness(1.02); color: white !important; }

.auth-submit { width: 100%; margin-top: 14px; }

.auth-footer { display: flex; justify-content: center; gap: 8px; margin-top: 14px; color: rgba(255,255,255,0.95); }

.btn-primary, .btn-outline-primary { padding: 5px 30px; }

#user-menu-button { min-width: 115px; }
.auth-select { margin-bottom: 0; }



.auth-card .button { border-radius: 12px; padding: 12px 16px; font-weight: 500; transition: transform .12s ease, box-shadow .2s ease; }
.auth-card .button:active { transform: translateY(1px); }
.auth-card .btn-primary {
    background: linear-gradient(180deg, #f04656 0%, #e52a3b 100%) !important;
    box-shadow: 0 6px 16px rgba(229,42,59,0.35);
}
.auth-card .btn-primary:focus-visible { outline: 2px solid rgba(229,42,59,0.45); outline-offset: 2px; }
.auth-card .btn-light { border-radius: 10px; }
.auth-card .btn-ghost { border-radius: 10px; }
.auth-card .button i { line-height: 1; }
.auth-card .auth-social i { font-size: 14px; }
.auth-card .auth-social span { font-size: .95em; }
.auth-card .auth-link { outline: none; }
.auth-card .auth-link:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
    border-radius: 6px;
}

.auth-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: 0;
    padding: 6px;
    cursor: pointer;
}
.auth-eye i { font-size: 14px; }

.auth-divider { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); margin: 14px 0; }
.auth-divider:before, .auth-divider:after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.3); }
.auth-divider span { font-size: .85em; letter-spacing: .08em; text-transform: uppercase; }

.auth-socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.auth-social { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 0; padding: 10px 12px; }

.btn-light { background: rgba(255,255,255,0.9) !important; color: #111; border: 1px solid rgba(0,0,0,0.06); }
.btn-light:hover { color: #111; border-color: rgba(0,0,0,0.12); }

.btn-ghost { background: transparent !important; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--red); color: #fff; }

.auth-actions { display: flex; gap: 10px; margin-top: 12px; }
.auth-action { flex: 1; text-align: center; margin-top: 0; padding: 10px 12px; }

@media (max-width: 480px) {
    .auth-socials { grid-template-columns: repeat(2, 1fr); }
    .auth-actions { flex-direction: column; }
    .auth-card { padding: 20px; border-radius: 16px; max-width: 360px; }
    .auth-title { font-size: 20px; }
    .menu-text{display: none;}
    .header-top .btn-header-register{height: 30px;}
    .header-top .btn-header-login{padding: 3px 10px;font-size: 0.9em;height: 30px;}
    .auth-hero{min-height: 700px;}
}

/* Login overlay animation */
@keyframes expandOverlay {
    from { width: 0; }
    to { width: 100%; }
}

.login-page .coverimg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 99;
    background: #000;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, .7707) 0%,
        rgba(255, 255, 255, .4178) 15%,
        rgba(255, 255, 255, .2469) 32%,
        rgba(255, 255, 255, .1349) 49%,
        rgba(132, 132, 132, .0677) 63%,
        rgba(255, 255, 255, .0313) 76%,
        rgba(128, 128, 128, 0) 88%,
        rgba(255, 255, 255, .1825) 100%
    );
    animation: expandOverlay .5s ease-out forwards;
    animation-delay: .3s;
}

.auth-links {
    position: absolute;
    z-index: 99;
    color: white;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.auth-links a {
    color: black;
    padding: 10px;
    margin-right: 10px;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* ==========================================================================
   AOS / DEVICES
   ========================================================================== */

#Device1, #Device2, #Device3, #Device4, #Device5 {
    transform: scale(0.7) translateY(-300px);
    opacity: 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}
#Device2 { transition-delay: 0.01s; }
#Device3 { transition-delay: 0.3s; }
#Device4 { transition-delay: 0.4s; }
#Device5 { transition-delay: 0.5s; }

.aos-animate #Device1,
.aos-animate #Device2,
.aos-animate #Device3,
.aos-animate #Device4,
.aos-animate #Device5 {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.step-label { position: relative; z-index: 99; background: white; padding: 5px; }
.pointer-events-none { z-index: 99999999; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.zoomIn {
    opacity: 1;
    -webkit-animation-name: zoomin;
    -webkit-animation-duration: 1s;
    animation-name: zoomin;
    animation-duration: 1s;
}

@-webkit-keyframes zoomin {
    0% { opacity: 0; transform: scale(0.7); -webkit-transform: scale(0.7); -moz-transform: scale(0.7); -o-transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); }
}
@keyframes zoomin {
    0% { opacity: 0; transform: scale(0.7); -webkit-transform: scale(0.7); -moz-transform: scale(0.7); -o-transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); }
}


.inline-popup{

    top: calc(-100% - 10px)!important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1270px) {
    .md100 { flex: 0 0 100%; max-width: 100%; }
    .md20 { flex: 0 0 20%; max-width: 20%; }
    .md25 { flex: 0 0 25%; max-width: 25%; }
    .md30 { flex: 0 0 30%; max-width: 30%; }
    .md33 { flex: 0 0 33.333%; max-width: 33.333%; }
    .md40 { flex: 0 0 40%; max-width: 40%; }
    .md50 { flex: 0 0 50%; max-width: 50%; }
    .md60 { flex: 0 0 60%; max-width: 60%; }
    .md66 { flex: 0 0 66.666%; max-width: 66.666%; }
    .md70 { flex: 0 0 70%; max-width: 70%; }
    .md75 { flex: 0 0 75%; max-width: 75%; }
    .md80 { flex: 0 0 80%; max-width: 80%; }
    .md90 { flex: 0 0 90%; max-width: 90%; }
    .md10 { flex: 0 0 10%; max-width: 10%; }

    .hidden-md { display: none; }
    .md-offset-top { margin-top: 30px; }

    .fixedbg { background-attachment: initial; }

    .offset-top { margin-top: 70px; }
    .offset-bottom { margin-bottom: 70px; }
    .p-top { padding-top: 70px; }
    .p-bottom { padding-bottom: 70px; }

    :root {
        --menufontsize: 15px;
        --textfontsize: 16px;
        --inputfontsize: 16px;
        --h1fontsize: 44px;
        --h2fontsize: 35px;
        --h3fontsize: 28px;
        --h4fontsize: 19px;
        --h5fontsize: 17px;
    }
}

@media (max-width: 992px) {
    .sm100 { flex: 0 0 100%; max-width: 100%; }
    .sm20 { flex: 0 0 20%; max-width: 20%; }
    .sm25 { flex: 0 0 25%; max-width: 25%; }
    .sm30 { flex: 0 0 30%; max-width: 30%; }
    .sm33 { flex: 0 0 33.333%; max-width: 33.333%; }
    .sm40 { flex: 0 0 40%; max-width: 40%; }
    .sm50 { flex: 0 0 50%; max-width: 50%; }
    .sm60 { flex: 0 0 60%; max-width: 60%; }
    .sm66 { flex: 0 0 66.666%; max-width: 66.666%; }
    .sm70 { flex: 0 0 70%; max-width: 70%; }
    .sm75 { flex: 0 0 75%; max-width: 75%; }
    .sm80 { flex: 0 0 80%; max-width: 80%; }
    .sm90 { flex: 0 0 90%; max-width: 90%; }
    .sm10 { flex: 0 0 10%; max-width: 10%; }

    .sm-offset-top { margin-top: 30px; }
    .hidden-sm { display: none; }

    .offset-top { margin-top: 50px; }
    .offset-bottom { margin-bottom: 50px; }
    .p-top { padding-top: 50px; }
    .p-bottom { padding-bottom: 50px; }

    :root {
        --menufontsize: 17px;
        --textfontsize: 16px;
        --inputfontsize: 16px;
        --h1fontsize: 31px;
        --h2fontsize: 27px;
        --h3fontsize: 25px;
        --standoffset: 50px;
    }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .xs100 { flex: 0 0 100%; max-width: 100%; }
    .xs20 { flex: 0 0 20%; max-width: 20%; }
    .xs25 { flex: 0 0 25%; max-width: 25%; }
    .xs30 { flex: 0 0 30%; max-width: 30%; }
    .xs33 { flex: 0 0 33.333%; max-width: 33.333%; }
    .xs40 { flex: 0 0 40%; max-width: 40%; }
    .xs50 { flex: 0 0 50%; max-width: 50%; }
    .xs60 { flex: 0 0 60%; max-width: 60%; }
    .xs66 { flex: 0 0 66.666%; max-width: 66.666%; }
    .xs70 { flex: 0 0 70%; max-width: 70%; }
    .xs75 { flex: 0 0 75%; max-width: 75%; }
    .xs80 { flex: 0 0 80%; max-width: 80%; }
    .xs90 { flex: 0 0 90%; max-width: 90%; }
    .xs10 { flex: 0 0 10%; max-width: 10%; }

    .grid-4 { grid-template-columns: repeat(1, 1fr); }
    .grid-3 { grid-template-columns: repeat(1, 1fr); }
    .grid-2 { grid-template-columns: repeat(1, 1fr); }

    .gap-30, .gap-50 { gap: 15px; }

    .hidden-xs { display: none; }
    .xs-offset-top { margin-top: 30px; }

    .offset-top { margin-top: 30px; }
    .offset-bottom { margin-bottom: 50px; }
    .p-top { padding-top: 50px; }
    .p-bottom { padding-bottom: 50px; }

    :root { --menufontsize: 16px; }

    input,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        padding: 2px 10px;
        min-height: 35px;
        line-height: 1.4em;
    }

    body.p-top { padding-top: 0.75rem; }

    /* Header/nav: układ pionowy */
    .header-top .row.row-margin {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }

    .navbar-top ul { display: block; }
    .navbar-top li { width: 100%; padding: 7px 0; }

    .header-top .left-menu-bar { padding-left: 15px; }
    .header-top .left-menu-bar.navbar-active { width: 70%; }

    .header-top .logo {
        position: absolute;
        left: 134px;
    }

    /* Dropdown: pełna szerokość i „bez absolute” na mobile */
    .user-dropdown {
        position: fixed;
        top: 5px;
        right: 50px;
        left: auto;
    }
    #user-dropdown-menu.user-dropdown-menu {
        position: static !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        border-radius: 12px;
    }

    /* Main: ciaśniejsze paddingi */
    main .mx-auto.max-w-7xl {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Alerty: mniej „powietrza” */
    .mb-4.rounded-md { padding: 0.75rem !important; }

    /* COMPLETE PROFILE modal (bottom-right) -> full width bottom sheet */
    #completeProfileModal {
        left: 0.75rem !important;
        right: 0.75rem !important;
        bottom: 0.75rem !important;
        width: auto !important;
    }
    #completeProfileCard { border-radius: 16px; }

    /* Consent modal: typowy bottom sheet */
    #consentModal {
        align-items: flex-end !important;
        padding: 0.75rem !important;
    }
    #consentCard {
        width: 100% !important;
        max-width: 100% !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        max-height: calc(100dvh - 0.75rem) !important;
    }

    /* Consent: przyciski w stopce na pełną szerokość */
    #consentForm .mt-4.flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }
    #consentForm .mt-4 .flex.gap-2 {
        flex-direction: column !important;
        width: 100%;
    }
    #consentForm .mt-4 .flex.gap-2 > * {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }

    /* Formularze: inputy większe (łatwiejsze klikanie) */
    input, select, button, a { touch-action: manipulation; }
    input, select { min-height: 44px; }
    button, .rounded-xl, .rounded-lg { min-height: 44px; }

    #burger { display: inline-block; }
}
