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

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

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

#sg_product_card {
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    background: #000000;
    color: #ffffff;
    font-family: Poppins, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 20.6px;
    position: relative;
    z-index: 0;
}

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

#sg_product_card p {
    margin: 0;
}

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

#sg_product_card video {
    width: 100%;
}

/* ------------------------- BANER ------------------------- */
#sg_product_card .sg_hero {
    position: relative;
}

#sg_product_card .sg_hero img {
    width: 100%;
    aspect-ratio: 1360 / 686;
    object-fit: cover;
    border-radius: 0 0 29.4px 29.4px;
}

#sg_product_card .sg_hero:after {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 0 0 29.4px 29.4px;
    background: linear-gradient(90deg, #000000 1%, #000000 24.2%, rgba(0, 0, 0, 0.3) 44.2%, rgba(0, 0, 0, 0) 85%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#sg_product_card .sg_hero_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 1.5px 1.5px 0 rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 8.75%;
    bottom: 8.75%;
    left: 4.41%;
    z-index: 2;
}

#sg_product_card .sg_strong {
    max-width: 560px;
    font-size: 33.1px;
    font-weight: 700;
    line-height: 42.6px;
}

/* ------------------------- TREŚĆ POD BANEREM ------------------------- */
#sg_product_card .sg_card_content {
    display: flex;
    flex-direction: column;
    gap: 58.8px;
    padding-top: 58.8px;
    padding-inline: 40px;
}

/* ------------------------- NAJWAŻNIEJSZE CECHY ------------------------- */
#sg_product_card .sg_main_section {
    display: flex;
    flex-direction: column;
    gap: 29.4px;
    padding-inline: 3.01%;
    position: relative;
}

#sg_product_card .sg_main_section_bg {
    background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata.webp') 289.7px -53px / 874.3px 712.9px no-repeat;
    position: absolute;
    top: -58.8px;
    right: -40px;
    bottom: -58.8px;
    left: -40px;
    z-index: -1;
}

#sg_product_card .sg_title {
    font-size: 26.5px;
    font-weight: 700;
    line-height: 29.4px;
    text-align: center;
}

#sg_product_card .sg_main_section_grid {
    display: grid;
    grid-template-columns: 382.4fr 411fr;
    align-items: center;
    gap: 8.25%;
}

#sg_product_card .sg_main_section_grid img {
    width: 100%;
}

#sg_product_card .sg_main_section_icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36.8px 9.62%;
}

#sg_product_card .sg_main_section_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.7px;
    min-width: 0;
    min-height: 161.8px;
    padding-bottom: 14.7px;
    background: linear-gradient(180deg, rgba(0, 170, 166, 0.5) 0%, rgba(0, 170, 166, 0.5) 100%) center bottom / 93.62% 1px no-repeat;
    text-align: center;
}

#sg_product_card .sg_main_section_icons .sg_main_section_icon img {
    flex-shrink: 0;
    width: 58.8px;
    height: 58.8px;
    object-fit: contain;
}

#sg_product_card .sg_main_section_icons .sg_main_section_icon:last-child img {
    width: 78.4px;
    height: 73.5px;
}

#sg_product_card .sg_main_section_icon p {
    max-width: 172.8px;
    font-size: 14.7px;
    font-weight: 700;
    line-height: 16.2px;
}

#sg_product_card .sg_main_section_icon_desc {
    color: #00aaa6;
    font-size: 11.8px;
    line-height: 16.5px;
}

/* ------------------------- SEKCJA SZEROKA ------------------------- */
#sg_product_card .sg_wide_section {
    display: flex;
    flex-direction: column;
    gap: 5.9px;
}

#sg_product_card .sg_inline_icon {
    display: flex;
    justify-content: center;
    padding-inline: 6.042%;
}

#sg_product_card .sg_inline_icon_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.9px;
}

#sg_product_card .sg_inline_icon_title {
    font-size: 26.5px;
    font-weight: 700;
    line-height: 29.4px;
    text-align: center;
}

#sg_product_card .sg_inline_icon_att {
    color: #00aaa6;
    font-size: 14.7px;
    text-align: center;
}

#sg_product_card .sg_center {
    padding-inline: 6.042%;
    text-align: center;
}

#sg_product_card .sg_video_with_desc {
    order: -1;
    padding: 0 6.042% 23.5px;
}

#sg_product_card .sg_video_with_desc img {
    width: 100%;
    border-radius: 32.4px;
}

/* ------------------------- SZACHOWNICA ------------------------- */
#sg_product_card .sg_chess {
    display: flex;
    flex-direction: column;
    gap: 14.7px;
    padding-inline: 6.042%;
}

#sg_product_card .sg_chess_item {
    display: grid;
    grid-template-columns: 328.7fr 403.7fr;
    grid-template-areas: "image text";
    align-items: center;
    gap: 3.2%;
    padding: 23.5px 3.23%;
    border: 1px solid #575757;
    border-radius: 29.4px;
}

#sg_product_card .sg_chess_item:nth-of-type(2n) {
    grid-template-columns: 403.7fr 328.7fr;
    grid-template-areas: "text image";
}

#sg_product_card .sg_chess_image {
    grid-area: image;
}

#sg_product_card .sg_chess_image img {
    width: 100%;
    aspect-ratio: 447 / 251;
    object-fit: cover;
    border-radius: 17.6px;
}

#sg_product_card .sg_chess_image video {
    aspect-ratio: 447 / 251;
    object-fit: cover;
    border-radius: 17.6px;
}

#sg_product_card .sg_chess_content {
    display: flex;
    flex-direction: column;
    gap: 17.6px;
    grid-area: text;
}

#sg_product_card .sg_chess_header {
    display: flex;
    align-items: center;
    gap: 17.6px;
}

#sg_product_card .sg_chess_header img {
    flex-shrink: 0;
    width: 58.8px;
    height: 58.8px;
    object-fit: contain;
}

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

#sg_product_card .sg_chess_title {
    font-size: 20.3px;
    font-weight: 700;
    line-height: 29.4px;
}

#sg_product_card .sg_chess_att {
    color: #00aaa6;
    font-size: 13.2px;
    line-height: 18.5px;
}

/* ------------------------- SPECYFIKACJA ------------------------- */
#sg_product_card .sg_spec {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 102.9px;
    min-height: 441.2px;
    margin: 38.9px 4.44% 0;
    padding: 35.8px;
    border: 1px solid #575757;
    border-radius: 36.8px;
    background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata_specyfikacja.webp') -126.6px -182.5px / 671.7px 804.8px no-repeat;
    position: relative;
}

#sg_product_card .sg_spec_title {
    font-size: 36.3px;
    font-weight: 500;
    line-height: 50.7px;
    text-align: center;
    position: absolute;
    right: 0;
    bottom: calc(100% + 18.6px);
    left: 0;
}

#sg_product_card .sg_spec_table {
    display: flex;
    flex-direction: column;
    gap: 7.35px;
    width: 334.2px;
    padding-inline: 3.7px;
}

#sg_product_card .sg_spec_table_row {
    display: flex;
    align-items: center;
}

#sg_product_card .sg_spec_table_row div {
    flex: 1;
    font-size: 13.2px;
    line-height: 18.4px;
}

#sg_product_card .sg_spec_table_row div:last-child {
    font-size: 11.8px;
    line-height: 16.2px;
    text-align: right;
}

/* ------------------------- RYSUNEK Z WYMIARAMI: urządzenie, strzałki i wartości osobno ------------------------- */
#sg_product_card .sg_dimensions {
    flex: 1;
    min-width: 0;
    aspect-ratio: 445.5 / 468.1;
    position: relative;
}

#sg_product_card .sg_dimensions img {
    width: 85.86%;
    position: absolute;
    top: 0;
    left: 10.1%;
}

#sg_product_card .sg_dimensions .sg_dimensions_table img {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}

#sg_product_card .sg_dimensions_table_row div {
    width: 44.67%;
    position: absolute;
    top: 84.09%;
    left: 30.53%;
}

#sg_product_card .sg_dimensions_table_row div:last-child {
    width: 60px;
    color: #fafafa;
    font-size: 10.4px;
    font-weight: 500;
    line-height: 14.6px;
    text-align: center;
    top: 86.4%;
    left: calc(52.71% - 30px);
}

#sg_product_card .sg_dimensions_table_row:last-child div {
    width: 1.944%;
    top: 9%;
    left: 14.52%;
}

#sg_product_card .sg_dimensions_table_row:last-child div:last-child {
    width: 60px;
    top: calc(40.5% - 7.3px);
    left: calc(12.3% - 30px);
    transform: rotate(-90deg);
}

/* ------------------------- LOGO ------------------------- */
#sg_product_card .sg_logo {
    padding: 62px 0 101px;
}

#sg_product_card .sg_logo img {
    width: 216.9px;
    margin-inline: auto;
}

@media (max-width: 991px) {
    #sg_product_card .sg_strong {
        max-width: 440px;
        font-size: 26px;
        line-height: 34px;
    }

    #sg_product_card .sg_main_section_bg {
        background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata.webp') center bottom -70px / 874.3px 712.9px no-repeat;
    }

    #sg_product_card .sg_main_section_grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #sg_product_card .sg_main_section_grid img {
        justify-self: center;
        width: 60%;
        max-width: 411px;
    }

    #sg_product_card .sg_main_section_icons {
        justify-self: center;
        width: 100%;
        max-width: 560px;
    }

    #sg_product_card .sg_spec {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 24px;
        min-height: 0;
        padding: 40px 35.8px;
        background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata_specyfikacja.webp') center -190px / 671.7px 804.8px no-repeat;
    }

    #sg_product_card .sg_dimensions {
        flex: none;
        width: 100%;
        max-width: 327.6px;
        margin-inline: auto;
    }

    #sg_product_card .sg_spec_table {
        width: 100%;
        max-width: 334.2px;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    #sg_product_card {
        font-size: 16px;
        line-height: 24px;
    }

    /* baner: zdjęcie u góry, hasło pod urządzeniem na gradiencie nachodzącym na zdjęcie */
    #sg_product_card .sg_hero {
        aspect-ratio: 4 / 3;
    }

    #sg_product_card .sg_hero img {
        height: 78%;
        aspect-ratio: auto;
        object-position: 100% 100%;
        border-radius: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    #sg_product_card .sg_hero:after {
        border-radius: 0 0 16px 16px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.92) 73%, #000000 80%);
    }

    #sg_product_card .sg_hero_content {
        top: 24px;
        right: 20px;
        bottom: 28px;
        left: 20px;
    }

    #sg_product_card .sg_strong {
        max-width: 100%;
        line-height: 32px;
    }

    #sg_product_card .sg_card_content {
        gap: 56px;
        padding-top: 56px;
        padding-inline: 16px;
    }

    #sg_product_card .sg_main_section {
        gap: 20px;
        padding-inline: 0;
    }

    #sg_product_card .sg_main_section_bg {
        background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata.webp') center bottom -110px / 640px 522px no-repeat;
        top: -56px;
        right: -16px;
        bottom: -56px;
        left: -16px;
    }

    #sg_product_card .sg_title {
        font-size: 26px;
        line-height: 32px;
    }

    #sg_product_card .sg_main_section_grid {
        gap: 32px;
    }

    #sg_product_card .sg_main_section_grid img {
        width: 86%;
        max-width: 360px;
    }

    #sg_product_card .sg_main_section_icons {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 440px;
    }

    #sg_product_card .sg_main_section_icon {
        gap: 5px;
        min-height: 0;
        padding: 16px 0 18px;
        background: linear-gradient(180deg, rgba(0, 170, 166, 0.5) 0%, rgba(0, 170, 166, 0.5) 100%) center bottom / 220px 1px no-repeat;
    }

    #sg_product_card .sg_main_section_icons .sg_main_section_icon img {
        width: 64px;
        height: 64px;
    }

    #sg_product_card .sg_main_section_icons .sg_main_section_icon:last-child img {
        width: 85px;
        height: 80px;
    }

    #sg_product_card .sg_main_section_icon p {
        max-width: 270px;
        font-size: 18px;
        line-height: 22px;
    }

    #sg_product_card .sg_main_section_icon_desc {
        font-size: 16px;
        line-height: 22px;
    }

    #sg_product_card .sg_wide_section {
        gap: 8px;
    }

    #sg_product_card .sg_inline_icon,
    #sg_product_card .sg_center {
        padding-inline: 0;
    }

    #sg_product_card .sg_inline_icon_text {
        gap: 8px;
    }

    #sg_product_card .sg_inline_icon_title {
        font-size: 26px;
        line-height: 32px;
    }

    #sg_product_card .sg_inline_icon_att {
        font-size: 17px;
    }

    #sg_product_card .sg_video_with_desc {
        padding: 0 0 16px;
    }

    #sg_product_card .sg_video_with_desc img {
        border-radius: 24px;
    }

    #sg_product_card .sg_chess {
        gap: 16px;
        margin: -24px 0 0;
        padding-inline: 0;
    }

    #sg_product_card .sg_chess_item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
        gap: 20px;
        padding: 16px 16px 24px;
        border-radius: 24px;
    }

    #sg_product_card .sg_chess_item:nth-of-type(2n) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
    }

    #sg_product_card .sg_chess_image img {
        border-radius: 16px;
    }

    #sg_product_card .sg_chess_image video {
        border-radius: 16px;
    }

    #sg_product_card .sg_chess_content {
        gap: 16px;
    }

    #sg_product_card .sg_chess_header {
        gap: 16px;
    }

    #sg_product_card .sg_chess_header img {
        width: 56px;
        height: 56px;
    }

    #sg_product_card .sg_chess_title {
        font-size: 20px;
        line-height: 26px;
    }

    #sg_product_card .sg_chess_att {
        font-size: 16px;
        line-height: 22px;
    }

    #sg_product_card .sg_spec {
        margin: 26px 0 0;
        padding: 32px 20px;
        border-radius: 24px;
        background: url('/media/cache/resolve/filemanager_original/images/descriptions/images/12/12840189/storage_app_opisy2_hisense_2138242a_img/pic_poswiata_specyfikacja.webp') center -170px / 600px 719px no-repeat;
    }

    #sg_product_card .sg_spec_title {
        font-size: 26px;
        line-height: 32px;
        bottom: calc(100% + 17px);
    }

    #sg_product_card .sg_dimensions {
        max-width: 320px;
    }

    #sg_product_card .sg_spec_table {
        gap: 10px;
        max-width: 100%;
        padding-inline: 0;
    }

    #sg_product_card .sg_spec_table_row {
        gap: 12px;
    }

    #sg_product_card .sg_spec_table_row div {
        font-size: 16px;
        line-height: 22px;
    }

    #sg_product_card .sg_spec_table_row div:last-child {
        flex: 0 1 auto;
        font-size: 16px;
        line-height: 22px;
    }

    #sg_product_card .sg_dimensions_table_row div:last-child {
        font-size: 13px;
        line-height: 18px;
    }

    #sg_product_card .sg_dimensions_table_row:last-child div:last-child {
        top: calc(40.5% - 9px);
        left: calc(11.4% - 30px);
    }

    #sg_product_card .sg_logo {
        padding: 48px 0 72px;
    }

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

@media (max-width: 649px) {
    #sg_product_card .sg_hero {
        aspect-ratio: 39 / 42;
    }

    #sg_product_card .sg_strong {
        font-size: 21px;
        line-height: 27px;
    }

    #sg_product_card .sg_spec {
        margin: 16px 0 0;
    }

    #sg_product_card .sg_spec_title {
        font-size: 22px;
        line-height: 28px;
    }
}
