/* Główny slider – pełna szerokość viewportu */
.main_slider {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;

    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Swiper i slajdy */
.main_slider__wrapper,
.main_slider .swiper-wrapper,
.main_slider__item,
.main_slider__item > div {
    width: 100% !important;
    max-width: none !important;
}

/* Obraz banera */
.main_slider__item img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

/* Newsletter – tło na całą szerokość ekranu */
#menu_newsletter {
    position: relative !important;
    background-color: #0D162F !important;
    isolation: isolate;
}

#menu_newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #0D162F;
    z-index: -1;
}

/* Galeria produktu – ograniczenie liczby zdjęć na desktopie */
@media (min-width: 979px) {

    #projector_photos .photos__figure:nth-child(n + 7) {
        display: none !important;
    }

}

/* ==================================================
   GALERIA PRODUKTU - SUBTELNY HOVER Z IKONĄ LUPY
   ================================================== */

@media (hover: hover) and (pointer: fine) {

    #projector_photos .photos__figure {
        position: relative;
        overflow: hidden;
        cursor: zoom-in;
        border-radius: 25px;
    }

    #projector_photos .photos__figure .photos__photo {
        transition:
            transform 0.25s ease,
            filter 0.25s ease;
    }

    #projector_photos .photos__figure:hover .photos__photo {
        transform: scale(1.025);
        filter: brightness(0.97);
    }

    #projector_photos .photos__figure::after {
        content: "";
        position: absolute;
        right: 14px;
        bottom: 14px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(13, 22, 47, 0.78);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 16px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);

        opacity: 0;
        transform: translateY(4px) scale(0.96);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease;

        pointer-events: none;
    }

    #projector_photos .photos__figure:hover::after {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sekcje opisowe zawierające wyłącznie tekst */
#projector_longdescription .newdescription__section[data-layout="html"] {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

/* Nagłówek */
#projector_longdescription .newdescription__section[data-layout="html"] h2 {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

/* Lista */
#projector_longdescription .newdescription__section[data-layout="html"] ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Poszczególne punkty */
#projector_longdescription .newdescription__section[data-layout="html"] li {
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
}

/* Nadpisanie line-height zapisanej inline w spanach */
#projector_longdescription .newdescription__section[data-layout="html"] li span {
    line-height: inherit !important;
}

#projector_longdescription .newdescription__section[data-layout="html"] li:last-child {
    margin-bottom: 0 !important;
}

/* Gdy sekcja zamiast listy zawiera akapity */
#projector_longdescription .newdescription__section[data-layout="html"] p {
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

#projector_longdescription .newdescription__section[data-layout="html"] p:last-child {
    margin-bottom: 0 !important;
}

/* ==================================================
   OPIS PRODUKTU – TYPOGRAFIA
   ================================================== */

#projector_longdescription {
    font-family: inherit !important;
    color: #333333;
}

/* Ujednolicenie czcionki niezależnie od stylów wklejonych z edytora */
#projector_longdescription h2,
#projector_longdescription p,
#projector_longdescription ul,
#projector_longdescription ol,
#projector_longdescription li,
#projector_longdescription span,
#projector_longdescription strong {
    font-family: inherit !important;
}


/* ===== Nagłówki H2 ===== */

#projector_longdescription h2 {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #222222 !important;

    margin-top: 0 !important;
    margin-bottom: 14px !important;

    text-align: left !important;
}

#projector_longdescription h2 strong,
#projector_longdescription h2 span {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}


/* ===== Akapity ===== */

#projector_longdescription p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #333333 !important;

    margin-top: 0 !important;
    margin-bottom: 14px !important;

    text-align: left !important;
}

#projector_longdescription p span {
    font-size: inherit !important;
    line-height: inherit !important;
}


/* ===== Listy ===== */

#projector_longdescription ul,
#projector_longdescription ol {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-left: 24px !important;
}

#projector_longdescription li {
    font-size: 16px !important;
    line-height: 1.45 !important;
    color: #333333 !important;

    margin-bottom: 8px !important;
}

#projector_longdescription li:last-child {
    margin-bottom: 0 !important;
}

#projector_longdescription li span {
    font-size: inherit !important;
    line-height: inherit !important;
}


/* ===== Pogrubienia ===== */

#projector_longdescription strong {
    font-weight: 700 !important;
    color: #222222 !important;
}

/* ==================================================
   OPIS PRODUKTU – WYRÓWNANIE TREŚCI DO LEWEJ
   ================================================== */

#projector_longdescription,
#projector_longdescription .newdescription__section,
#projector_longdescription .newdescription__item,
#projector_longdescription h2,
#projector_longdescription h3,
#projector_longdescription p,
#projector_longdescription ul,
#projector_longdescription ol,
#projector_longdescription li,
#projector_longdescription span,
#projector_longdescription strong {
    text-align: left !important;
}

/* punkty stacjonarne ukrycie */

#projector_stocks {
display: none !important;
}

/*smile przycisk*/

express-checkout {
  display: none !important;
}

/*punkty w opisie*/

#projector_longdescription ul {
    list-style: none !important;
    padding-left: 0 !important;
}

#projector_longdescription ul > li {
    position: relative;
    padding-left: 20px !important;
}

#projector_longdescription ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: #0D162F;
}

/* Druga strefa banerowa – pełna szerokość ekranu */
#menu_banners3 {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;

    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Wrapper banera */
#menu_banners3 .menu_button_wrapper {
    width: 100% !important;
    max-width: none !important;
}

/* Obraz */
#menu_banners3 .menu_button_wrapper img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

/* InPost Pay - karta produktu i koszyk */
#inpostPay,
#copInpostPay {
  display: none !important;
}

/* ------------BLOG----------- */

/* Blog – sekcja Polecane z tłem na całą szerokość */
#blog_item_associated {
    background-color: #f3f3f3 !important;

    /* rozszerzenie tła poza szerokość kontenera */
    box-shadow: 0 0 0 100vmax #f3f3f3;
    clip-path: inset(0 -100vmax);
}

/* Wewnętrzne elementy bez własnego tła */
#blog_item_associated > .hotspot,
#blog_item_associated .hotspot-associated,
#blog_item_associated .hotspot__products {
    background-color: transparent !important;
}

/* Karty produktów pozostają białe */
#blog_item_associated .hotspot__product {
    background-color: #fff;
}

/* Pierwsza sekcja artykułu pod miniaturką */
#blog-item ._ae_desc > div:nth-of-type(2) {
    clear: both;
}

/* ==================================================
   YOUTUBE W OPISIE PRODUKTU
   ================================================== */

/* Cała sekcja filmu */
#projector_longdescription .newdescription__section[data-layout="default"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Element oznaczony klasą --video */
#projector_longdescription .newdescription__item[class~="--video"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    flex: 0 0 100% !important;
}

/* Player YouTube */
#projector_longdescription .wisser-youtube-embed {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 auto !important;
    border: 0 !important;
}

/* Film YouTube – korekta odstępu na mobile */
@media (max-width: 756px) {

    #projector_longdescription
    .newdescription__section[data-layout="default"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #projector_longdescription
    .newdescription__item[class~="--video"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 756px) {

    #projector_longdescription
    .newdescription__section[data-layout="default"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #projector_longdescription
    .newdescription__item[class~="--video"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #projector_longdescription
    .wisser-youtube-embed {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 756px) {

    #projector_longdescription
    .newdescription__item[class~="--video"] {
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    #projector_longdescription
    .wisser-youtube-embed {
        border-radius: 12px !important;
    }
}

/* ==================================================
   KARTA PRODUKTU – INFORMACJA O GODZINIE WYSYŁKI
   ================================================== */

#wisser_shipping_cutoff {
    font-size: 13px;
    line-height: 1.4;
    color: #555555;

    padding: 10px 0;
    margin: 2px 0;
}

#wisser_shipping_cutoff strong {
    color: #222222;
    font-weight: 700;
}

/* Aktualnie można jeszcze nadać dzisiaj */
#wisser_shipping_cutoff.is-active strong {
    color: #222222;
}

@media (max-width: 756px) {
    #wisser_shipping_cutoff {
        font-size: 13px;
        padding: 9px 0;
    }
}