@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/13/13365771/storage_app_opisy2_philips_2144854a_fonts/poppins_black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

#sg_product_card {
    width: 100%;
    max-width: 1000px;
    background: #f9f8f6;
    color: #62524e;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    font-kerning: none;
    font-size: 15px;
    line-height: 22px;
}

#sg_product_card * {
    box-sizing: border-box;
}

#sg_product_card p {
    margin: 0;
}

#sg_product_card video,
#sg_product_card img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

#sg_product_card video {
    width: 100%;
}

#sg_product_card sup {
    font-size: 0.6em;
}

/* ---------------- HERO (baner) ---------------- */

#sg_product_card .zdjecie-kontener .sg_hero {
    position: relative;
    overflow: hidden;
    height: 540px;
}

#sg_product_card .sg_hero > picture {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 0;
}

#sg_product_card .sg_hero > picture img {
    right: unset;
    width: 100%;
    position: absolute;
    z-index: 0;
    object-fit: cover;
}

#sg_product_card .zdjecie-kontener .sg_hero > img {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 180px;
    z-index: 2;
}

#sg_product_card .sg_strong {
    font-weight: 200;
    font-size: 84px;
    line-height: 1;
}

#sg_product_card .sg_hero_content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    #sg_product_card .zdjecie-kontener .sg_hero {
        height: 430px;
    }

    #sg_product_card .sg_hero > picture img {
        right: unset;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #sg_product_card .zdjecie-kontener .sg_hero > img {
        top: 34px;
        left: 24px;
        width: 140px;
    }

    #sg_product_card .sg_strong {
        font-size: 63px;
    }

    #sg_product_card .sg_hero_content {
        padding: 40px 20px;
        font-size: 16px;
    }
}

#sg_product_card .sg_card_content {
    display: flex;
    flex-direction: column;
}

/* ---------------- Panele zdjęcie/wideo w tle + tekst (sg_other_features) ---------------- */

#sg_product_card .sg_other_features_grid_item {
    position: relative;
    overflow: hidden;
    background-color: #f9f8f6;
    color: #62524e;
}

#sg_product_card .sg_other_features_grid_item > picture {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 0;
}

#sg_product_card .sg_other_features_grid_item > picture img,
#sg_product_card .sg_other_features_grid_item > video,
#sg_product_card .sg_other_features_grid_item > img:first-child {
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    position: absolute;
    top: 0;
    z-index: 0;
}

@media (max-width: 767px) {
    #sg_product_card .sg_other_features_grid_item > picture img,
    #sg_product_card .sg_other_features_grid_item > video,
    #sg_product_card .sg_other_features_grid_item > img:first-child {
        right: unset;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }
}

#sg_product_card .sg_other_features_grid_item_inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

#sg_product_card .sg_other_features_grid_item_title {
    color: inherit;
    text-align: inherit;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 60px;
    line-height: 1;
}

p.sg_other_features_grid_item_text {
    color: inherit;
    text-align: inherit;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    #sg_product_card .sg_other_features_grid_item_inner {
        padding: 40px 20px;
    }

    #sg_product_card .sg_other_features_grid_item_title {
        font-size: 45px;
    }
}

/* Item 1 (S2 — Dlaczego Lumea?): jasny panel, tekst zaczyna się od góry, 50% szer. */
#sg_product_card .sg_other_features_grid_item:nth-child(1) {
    height: 820px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(1) .sg_other_features_grid_item_inner {
    width: 50%;
    justify-content: flex-start;
}

div.sg_other_features_grid_item_text {
    display: flex;
}

/* Lista ikon sekcji "Dlaczego Lumea?" — pionowa, ikona+tekst w rzędzie */
#sg_product_card .sg_other_features_grid_item:nth-child(1) div.sg_other_features_grid_item_text {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(1) div.sg_other_features_grid_item_text > div {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

#sg_product_card .sg_other_features_grid_item:nth-child(1) div.sg_other_features_grid_item_text > div img {
    width: 72px;
    flex-shrink: 0;
}

#sg_product_card .sg_other_features_grid_item:nth-child(1) div.sg_other_features_grid_item_text > div p {
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

@media (max-width: 767px) {
    #sg_product_card .sg_other_features_grid_item:nth-child(1) {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(1) > picture {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        transform: none;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(1) > picture img {
        position: relative;
        right: auto;
        width: 100%;
        height: auto;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(1) .sg_other_features_grid_item_inner {
        position: static;
        height: auto;
        width: 100%;
        padding-top: 20px;
        background: linear-gradient(0deg, #ebe7e3, #f4f1ee);
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(1) .sg_other_features_grid_item_title {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 3;
        text-align: center;
        padding: 0 20px;
    }
}

/* Item 2 (S3 — Twój osobisty ekspert): wideo, ciemny gradient, tekst biały ZAWSZE (też na mobile) */
#sg_product_card .sg_other_features_grid_item:nth-child(2) {
    height: 560px;
    color: #ffffff;
}

#sg_product_card .sg_other_features_grid_item:nth-child(2)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

#sg_product_card .sg_other_features_grid_item:nth-child(2) .sg_other_features_grid_item_inner {
    width: 55%;
    height: unset;
}

/* Item 3 (S4 — Ponad 80% redukcji): jasny, wyśrodkowany, stackuje się na mobile */
#sg_product_card .sg_other_features_grid_item:nth-child(3) {
    height: 480px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(3) .sg_other_features_grid_item_inner {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}

/* Item 4 (S5 — 4 inteligentne nasadki): jasny, siatka 4 ikon na dole */
#sg_product_card .sg_other_features_grid_item:nth-child(4) {
    height: 640px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(4) .sg_other_features_grid_item_inner {
    width: 80%;
    padding-top: 80px;
    height: auto;
}

#sg_product_card .sg_other_features_grid_item:nth-child(4) div.sg_other_features_grid_item_text {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: start;
    width: 80%;
    margin-top: 40px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(4) div.sg_other_features_grid_item_text > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

#sg_product_card .sg_other_features_grid_item:nth-child(4) div.sg_other_features_grid_item_text > div img {
    width: 100%;
}

#sg_product_card .sg_other_features_grid_item:nth-child(4) div.sg_other_features_grid_item_text > div p {
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
}

/* Item 5 (S6 — Zobacz, jak działa IPL): wideo, gradient, tekst brąz na mobile, stackuje się */
#sg_product_card .sg_other_features_grid_item:nth-child(5) {
    height: 560px;
    color: #ffffff;
}

#sg_product_card .sg_other_features_grid_item:nth-child(5)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

#sg_product_card .sg_other_features_grid_item:nth-child(5) .sg_other_features_grid_item_inner {
    width: 70%;
    margin-left: auto;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

/* Item 6 (S7 — Bezpieczeństwo): jasny, tekst wyrównany do dołu, 65% */
#sg_product_card .sg_other_features_grid_item:nth-child(6) {
    height: 680px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(6) .sg_other_features_grid_item_inner {
    width: 65%;
    justify-content: flex-end;
}

/* Item 7 (S8 — Sprawdź, czy Lumea jest dla Ciebie): jasny, auto-wysokość — zdjęcie leży
   position:absolute POD tekstem (nie w normalnym przepływie), wysokość sekcji wyznacza
   tekst (normalny przepływ), 1:1 z .phi_s8 .phi_image{height:unset;width:100%} */
#sg_product_card .sg_other_features_grid_item:nth-child(7) {
    height: auto;
}

#sg_product_card .sg_other_features_grid_item:nth-child(7) > img:first-child {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-width: none;
    z-index: 0;
}

#sg_product_card .sg_other_features_grid_item:nth-child(7) .sg_other_features_grid_item_inner {
    position: relative;
    z-index: 2;
    height: auto;
    width: 100%;
    padding: 80px 80px 40px;
    align-items: center;
    text-align: center;
}

#sg_product_card .sg_other_features_grid_item:nth-child(7) div.sg_other_features_grid_item_text {
    flex-direction: row;
    gap: 40px;
    margin-top: 40px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(7) div.sg_other_features_grid_item_text > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#sg_product_card .sg_other_features_grid_item:nth-child(7) div.sg_other_features_grid_item_text > div img {
    width: 100%;
}

/* Item 8 (S9 — Harmonogram sesji): jasny, auto-wysokość — zdjęcie leży position:absolute
   POD tekstem, tak jak Item 7; diagram harmonogramu to osobny, drugi obraz NAD zdjęciem
   (z-index 3), 1:1 z .phi_s9 .icon{position:relative;z-index:3;padding:0 40px 40px} */
#sg_product_card .sg_other_features_grid_item:nth-child(8) {
    height: auto;
}

#sg_product_card .sg_other_features_grid_item:nth-child(8) > img:first-child {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 0;
}

#sg_product_card .sg_other_features_grid_item:nth-child(8) .sg_other_features_grid_item_inner {
    position: relative;
    z-index: 2;
    height: auto;
    width: 100%;
    padding: 40px;
    align-items: center;
    text-align: center;
}

#sg_product_card .sg_other_features_grid_item:nth-child(8) > img:nth-of-type(2) {
    position: relative;
    z-index: 3;
    display: block;
    max-width: 100%;
    padding: 0 40px 40px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    /* S2 — stack-mobile-s2 obsłużone wyżej (item 1) */

    /* S3 — zostaje overlayem, biały tekst zachowany */
    #sg_product_card .sg_other_features_grid_item:nth-child(2) .sg_other_features_grid_item_inner {
        width: 100%;
    }

    /* S4 — rozkłada się na dwa bloki, zdjęcie nad tekstem */
    #sg_product_card .sg_other_features_grid_item:nth-child(3) {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(3) > picture {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        transform: none;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(3) > picture img {
        position: relative;
        right: auto;
        width: 100%;
        height: auto;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(3) .sg_other_features_grid_item_inner {
        order: 1;
        position: relative;
        height: auto;
        width: 100%;
    }

    /* S5 — zostaje overlayem (jasne zdjęcie), tekst wyśrodkowany na mobile */
    #sg_product_card .sg_other_features_grid_item:nth-child(4) > picture img {
        object-position: right center;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(4) .sg_other_features_grid_item_inner {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(4) div.sg_other_features_grid_item_text {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    /* S6 — rozkłada się na dwa bloki, tekst brązowy (nie biały) na jasnym tle karty */
    #sg_product_card .sg_other_features_grid_item:nth-child(5) {
        height: auto;
        display: flex;
        flex-direction: column;
        color: #62524e;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(5)::after {
        content: none;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(5) > video {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(5) .sg_other_features_grid_item_inner {
        order: 1;
        position: relative;
        height: auto;
        width: 100%;
        text-align: center;
        align-items: center;
        padding-top: 0;
    }

    /* S7 — zostaje overlayem, własna wysokość mobile */
    #sg_product_card .sg_other_features_grid_item:nth-child(6) {
        height: 660px;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(6) .sg_other_features_grid_item_inner {
        width: 100%;
        text-align: center;
    }

    /* S8 — rząd ikon w kolumnie */
    #sg_product_card .sg_other_features_grid_item:nth-child(7) .sg_other_features_grid_item_inner {
        padding: 40px 20px;
    }

    #sg_product_card .sg_other_features_grid_item:nth-child(7) div.sg_other_features_grid_item_text {
        flex-direction: column;
        gap: 16px;
    }
}

/* ---------------- Zawartość zestawu (sg_set_simple) ---------------- */

#sg_product_card .sg_set_simple {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    height: 440px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#sg_product_card .sg_set_simple > picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#sg_product_card .sg_set_simple > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#sg_product_card .sg_set_simple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
}

#sg_product_card .sg_set_simple .sg_title {
    position: relative;
    z-index: 2;
    text-align: right;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 36px;
    line-height: 1;
    margin-left: auto;
    width: 50%;
    padding-top: 40px;
    padding-right: 40px;
}

#sg_product_card .sg_set_simple .sg_set_simple_list {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 50%;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 16px;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
}

#sg_product_card .sg_set_simple .sg_set_simple_item {
    display: block;
}

@media (max-width: 767px) {
    #sg_product_card .sg_set_simple {
        height: auto;
        flex-direction: column;
        align-items: center;
        color: #62524e;
    }

    #sg_product_card .sg_set_simple > picture {
        position: relative;
        order: 2;
        height: auto;
    }

    #sg_product_card .sg_set_simple > picture img {
        height: auto;
    }

    #sg_product_card .sg_set_simple::after {
        content: none;
    }

    #sg_product_card .sg_set_simple .sg_title,
    #sg_product_card .sg_set_simple .sg_set_simple_list {
        order: 1;
        width: 100%;
        margin-left: 0;
        padding: 40px 20px 0;
        text-align: center;
        align-items: center;
    }

    #sg_product_card .sg_set_simple .sg_set_simple_list {
        padding-top: 16px;
        padding-bottom: 40px;
    }
}

/* ---------------- Bezpieczeństwo / przypisy (szeroka_sekcja) ---------------- */

#sg_product_card .szeroka_sekcja {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(3) {
    padding: 40px;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(3) .sg_center {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) {
    position: relative;
    overflow: hidden;
    text-align: center;
    align-items: center;
    padding: 180px 80px;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_title,
#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_center {
    position: relative;
    z-index: 1;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_title {
    text-transform: uppercase;
    font-weight: 200;
    font-size: 84px;
    line-height: 1;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_center {
    font-weight: 300;
    font-size: 20px;
}

@media (max-width: 767px) {
    #sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) {
        padding: 120px 40px;
    }

    #sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_title {
        font-size: 45px;
    }

    #sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(3) {
        padding: 20px;
    }
}

/* ---------------- Logo producenta (sg_logo) ---------------- */

#sg_product_card .sg_logo {
    background-color: #ffffff;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sg_product_card .sg_logo img {
    width: 200px;
}
