/* CSS VERSION 1.1 */
/* 2 Mar 2026 */

/* =============================== */
/*  SECTION BANNER
/* =============================== */

#banner {
    background: url(../images/bg.webp) no-repeat center center;
    min-height: 600px;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    /* margin-top: -120px; */
    position: relative;
}

.banner-content {
    padding-top: 120px;
    padding-bottom: 120px;
    z-index: 5;
}
.claim {
    width: clamp(200px, 500px, 50%);
    z-index: 5;
    & img {
        margin: 0 auto;
    }
}

.snow {
    background: url(../images/snow.webp) no-repeat center center;
    background-size: cover;
    position: absolute;
    bottom: -45%;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 400px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wilczki {
    max-width: min(1024px, 90%);
    margin-top: 30px;    
    z-index: 2;
}

.packshots {
    position: absolute;
    bottom: 100px;
    right: 1%;
    width: 40%;
    z-index: 1;
    max-width: 550px;
}

/* Christmas trees */

.choinki {
    position: absolute;
    z-index: 0;
}

#choinka-lewa {
    left: 0;
    bottom: -10%;
    width: 20%;
    max-width: 200px;
}

#choinka-prawa {
    right: 0;
    bottom: -25%;
    width: 15%;
    max-width: 200px;
}

/* ? MEDIA QUEIRIES ================================ */

@media (min-width: 2100px) {
    .snow {
        bottom: -60%;
        max-height: 500px;
    }
}

@media (max-width: 1400px) {
    .packshots {
        bottom: 50%;
    }
}

@media (max-width: 768px) {

    #banner {
        height: 40dvh;
    }

    .packshots {
        width: 55%;
    }

    #choinka-prawa {
        bottom: -35%;
        width: 20%;
    }
}

@media (max-width: 576px) {
    .packshots {
        right: unset;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 400px;
    }

    #choinka-lewa {
        bottom: -20%;
        width: 30%;
    }
}
/* =============================== */
/*  SECTION RULES
/* =============================== */

#rules {
    background-color: var(--dark-green);
    padding-top: 400px;
    padding-bottom: 100px;
    color: #fff;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.rules-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 5%;
}

.rule-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    & img {
       max-width: 100px;
       margin: 0 auto;
       margin-bottom: 20px;
    }

    & h3 {
        font-size: 2rem;
        margin-bottom: 0;
    }

    & h4 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
}

/* PRPDUKTY PROMOCYNE */

.sub-section-header h3 {
    font-size: 2rem;
}

.products-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    & img {
        max-width: 280px;
        /* margin-bottom: 20px; */
    }

    & h4 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
}

/* SZRON */
.hoarfrost {
    position: absolute;
    width: 100%;
    height: auto;
}

#hoarfrost-top {
    top: 50px;
    left: 0;

}

#hoarfrost-bottom {
    bottom: 0;
    left: 0;
}

/* ? MEDIA QUERIES ================================ */

@media (min-width: 1920px) {
    #hoarfrost-bottom {
        bottom: -10%;
    }
}

@media (max-width: 1366px) {
    #hoarfrost-top {
        top: 10%;
    }
}

@media (max-width: 992px) {

    #hoarfrost-top {
        top: 15%;
    }


    #rules {
        padding-top: 320px;
    }
    .product-item {
        & img {
            max-width: 220px;
        }
    }
}


@media (max-width: 768px) {

    #hoarfrost-top {
        top: 12%;
    }

    .rules-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;

    }

    .rule-item {
        & img {
            max-width: 80px;
        }

        & h3 {
            font-size: 1.8rem;
        }
    }
    .products-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .product-item {
        & img {
            max-width: 150px;
        }
    }
}
/* =============================== */
/*  SECTION WILCZKI
/* =============================== */

.wilczki-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.wilczki-wrapper-grid > * {
    grid-column: span 2;
}

.wilczki-wrapper-grid > :nth-child(5) {
    grid-column: 2 / span 2;
}

.wilczki-wrapper-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.wilczki-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    border-radius: 20px;
    width: 170px;
    height: 280px;
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;

    & img {
        max-width: 200px;
        max-height: 160px;
        margin-bottom: 20px;
    }

    & h4 {
        font-size: 1.5rem;
        margin-bottom: -0.3rem;
        text-transform: uppercase;
        line-height: 1.5rem;
        padding-inline: 5px;
    }

    & p {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
}

.wilczek-inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.partners-wrapper {
    margin-top: 30px;
    & h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-transform: uppercase;
        text-align: center;
        color: var(--dark-green);
    }

    & p {
        font-size: 1.5em;
        margin-bottom: 0;
    }
}

.partners-desktop {
    display: block;
}

.partners-mobile {
    display: none;
}



/* OTHER STORES */
.other-network-note {
    text-align: center;
    margin-bottom: 20px;
}

.other-network-note a {
    text-decoration: none !important;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 5px 10px;
    color: #fff;
    transition: all 0.3s ease;
    margin-left: 10px;
    &:hover {
        background-color: #fff;
        color: var(--dark-green);
    }
}

.partners-other-wrapper {
    background-color: var(--dark-green);
    padding: 20px min(40px, 5%);
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    max-width: min(500px, 90%);
    margin: 0 auto;
    color: #fff;
    margin-top: 30px;
}

.partners-other-form input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 3px 20px #0000001f;
    padding: 10px 18px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.partners-other-form p {
    text-align: center;
}

.partners-other-form label {
    text-align: center;
    text-transform: uppercase;
}

.cta-contact-white  p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cta-contact-white  input {
    background: #fff;
    color: var(--dark-green);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

/* ? MEDIA QUERIES ================================ */

@media (max-width: 767px) {
    .wilczki-wrapper-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wilczki-wrapper-grid > *,
    .wilczki-wrapper-grid > :nth-child(5) {
        grid-column: auto;
    }

    .partners-desktop {
        display: none;
    }

    .partners-mobile {
        display: block;
    }
}

@media (max-width: 576px) {
    .wilczki-wrapper-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        place-items: center;
        gap: 10px;
    }
}

/* =============================== */
/*  SECTION FORM
/* =============================== */

.form-container {
    background-color: var(--dark-green);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
}

.before-start {
    text-align: center;
    margin: auto;;
    margin-bottom: 20px;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 30px 20px;
    max-width: 500px;;
    & h4 {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

.end-date {
    text-align: center;
    margin: auto;;
    margin-bottom: 20px;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 30px 20px;
    max-width: 500px;;
    & h4 {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

.rdp-captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* =============================== */
/*  SECTION FAQ
/* =============================== */

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    & p {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
}

.ea-header {
    background-color: var(--dark-green);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    border: 1px solid #d9d9d9;

    & a, i {
        color: #fff !important;
    }
}

.ea-body {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    padding: 20px;
    background-color: #fff;
    color: #000;

    & p {
        margin-bottom: 0;
    }

    & ol li {
        list-style-type: decimal;
    }

    & a {
        color: var(--red);
    }
}
.sp-easy-accordion > .sp-ea-single {
    background: #fff !important;
    border: none !important;
}
.sp-collapse {
    width: 98%;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
}

/* =============================== */
/*  SECTION POPUP
/* =============================== */

.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(239, 208, 208, 0.15);
    z-index: 1001;

    & h3 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    & p {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    & .popup-close-icon {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 2rem;
        cursor: pointer;
        color: #000;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-wrapper {
    display: none;
    z-index: 9999;
}

.popup-wrapper.is-active {
    display: block;
}

.popup-content {
    width: calc(100% - 40px);
    max-width: 560px;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

body.popup-open {
    overflow: hidden;
}
/* =============================== */
/*   PAGE PANEL
/* =============================== */

#panel-hero {
    background: url(../images/bg-subpage.webp) no-repeat bottom center;
    background-size: cover;
    min-height: 400px;

    & .banner-content {
        padding-top: 220px;
    }
}

.page-title h1 {
    font-size: 3rem;
    color: var(--dark-green);
}

/* ? MEDIA QUERIES ================================ */

@media (max-width: 768px) {
    #panel-hero {
        padding-top: 120px;
        min-height: 200px;

        & .banner-content {
            padding-top: 150px;
            padding-bottom: 100px;
        }
    }
}