#sg_product_card {
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-kerning: none;
    overflow-x: hidden;
}

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

#sg_product_card p {
    margin: 0;
    padding: 0;
}

#sg_product_card sup,
#sg_product_card sub {
    font-size: 0.6em;
    line-height: 0;
}

#sg_product_card .sg_hero,
#sg_product_card .sg_card_content > .szeroka_sekcja,
#sg_product_card .sg_card_content > .sg_matt_wrapper,
#sg_product_card .sg_chess_item {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

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

#sg_product_card .sg_chess {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#sg_product_card .sg_chess_header,
#sg_product_card .sg_chess_header_title {
    display: block;
}

#sg_product_card .sg_hero {
    height: 410px;
    z-index: 20;
    background-color: #c4d72d;
    color: #001640;
}

#sg_product_card .sg_hero > img:nth-child(1) {
    padding-top: 50px;
    padding-left: 40px;
    z-index: 2;
    position: absolute;
    height: 120px;
}

#sg_product_card .sg_hero > img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#sg_product_card .sg_hero > img:nth-child(3) {
    position: absolute;
    z-index: 1;
}

#sg_product_card .sg_hero > img:nth-child(4) {
    position: absolute;
    z-index: 1;
    width: 160px;
    right: 40px;
    bottom: 40px;
}

#sg_product_card .sg_hero_content {
    padding: 40px;
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

#sg_product_card .sg_strong {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(48px, 10vw, 60px);
    line-height: 1;
    font-weight: 900;
    color: #001640;
}

#sg_product_card .sg_strong span {
    line-height: 1.4;
}

#sg_product_card .sg_hero_content p:not(.sg_strong) {
    font-size: 20px;
    font-weight: 700;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(1) {
    display: block;
    z-index: 19;
    padding: 40px;
    padding: 0;
    background-color: #c4d72d;
    color: #001640;
    text-align: center;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(2),
#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(5) {
    width: 100%;
    aspect-ratio: 16 / 9;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(2) iframe,
#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(5) iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#sg_product_card .sg_inline_icon_title {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1;
    font-weight: 900;
}

#sg_product_card .sg_inline_icon_title span {
    font-weight: 400;
}

#sg_product_card .sg_video_with_desc img {
    max-width: 100%;
    margin: 20px 0 -60px 0;
}

#sg_product_card .sg_center {
    font-size: 26px;
    line-height: 32px;
    font-weight: 400;
}

#sg_product_card .sg_chess_title {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1;
    font-weight: 900;
}

#sg_product_card .sg_chess_text p {
    font-size: 26px;
    line-height: 32px;
    font-weight: 400;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) {
    min-height: 410px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background-color: #c4d72d;
    color: #001640;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) .sg_chess_image img {
    position: absolute;
    width: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) > picture {
    position: relative;
    z-index: 2;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) > picture img {
    display: block;
    width: 320px;
    padding: 40px;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) .sg_chess_content {
    position: relative;
    z-index: 2;
    padding: 40px;
    padding-top: 320px;
    text-align: right;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) {
    background-color: #0a2240;
    color: #ffffff;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img {
    position: absolute;
    z-index: 0;
    top: 0;
    height: 100%;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(1) {
    z-index: 1;
    right: 340px;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(2) {
    right: 0;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(3) {
    top: auto;
    height: auto;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_content > img {
    position: relative;
    z-index: 2;
    width: 300px;
    padding: 40px;
    padding-bottom: 0;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_text {
    position: relative;
    z-index: 2;
    width: 40%;
    padding: 40px;
    padding-top: 20px;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3),
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) {
    min-height: 410px;
    background-color: #c4d72d;
    color: #001640;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_image img,
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_image img {
    position: absolute;
    z-index: 0;
    top: 0;
    height: 100%;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_image img:nth-child(1),
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_image img:nth-child(1) {
    z-index: 1;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_image img:nth-child(2),
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_image img:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_content,
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_content {
    min-height: 410px;
    width: 45%;
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_title,
#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_title {
    font-weight: 700;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) {
    background-color: #0a2240;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_image img {
    position: absolute;
    z-index: 0;
    bottom: 0;
    right: 50%;
    transform: translateX(10%);
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_content {
    min-height: 460px;
    width: 50%;
    margin-left: auto;
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_title {
    color: #c4d72d;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_text p {
    color: #ffffff;
}

#sg_product_card .sg_matt_wrapper {
    display: flex;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box {
    flex: 1;
    position: relative;
    text-align: center;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box:nth-child(1) {
    background-color: #0a2240;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box:nth-child(2) {
    background-color: #ebe4de;
    color: #001640;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box > img {
    max-width: 100%;
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box > div {
    padding: 40px;
    position: relative;
    z-index: 1;
    min-height: 410px;
}

#sg_product_card .sg_matt_wrapper .sg_matt_title {
    font-size: 32px;
    line-height: 38px;
    font-weight: 900;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box:nth-child(1) .sg_matt_title {
    color: #c4d72d;
}

#sg_product_card .sg_matt_wrapper .sg_matt_box p {
    font-size: 20px;
    font-weight: 400;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(6) {
    display: flex;
    padding: 40px;
    background-color: #c4d72d;
    color: #001640;
}

#sg_product_card .sg_set_simple {
    flex: 5;
    border-right: 2px solid #001640;
    padding-right: 40px;
}

#sg_product_card .sg_title {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1;
    font-weight: 900;
}

#sg_product_card .sg_set_simple_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    text-align: center;
    font-size: 16px;
}

#sg_product_card .sg_set_simple_item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: 10px;
    justify-items: center;
}

#sg_product_card .sg_set_simple_item img {
    max-width: 100%;
    max-height: 220px;
    padding: 10px;
    align-self: end;
}

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

#sg_product_card .sg_set_simple_item p,
#sg_product_card .sg_other_features_grid_item_title {
    font-weight: 700;
}

#sg_product_card .sg_set_simple_item p span,
#sg_product_card .sg_other_features_grid_item_title span {
    font-weight: 400;
}

#sg_product_card .sg_other_features {
    flex: 1;
    padding-left: 40px;
}

#sg_product_card .sg_other_features_grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    font-size: 16px;
    justify-content: space-between;
    height: 100%;
}

#sg_product_card .sg_other_features_grid_item img {
    max-width: 60px;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    padding-right: 0;
    background-color: #c4d72d;
    color: #001640;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_image img {
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 60px;
    max-width: 65%;
    max-height: 100%;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_content {
    width: 35%;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_text p {
    font-size: 20px;
    line-height: 1.3;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_text strong {
    font-weight: 700;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_text p:last-child {
    font-weight: 700;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

#sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_text p:last-child img {
    max-width: 60px;
}

#sg_product_card .sg_card_content > .szeroka_sekcja:last-child {
    background-color: #c4d72d;
    color: #001640;
    padding: 40px;
}

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

@media screen and (max-width: 800px) {

    #sg_product_card .sg_hero > img:nth-child(1) {
        padding: 20px;
        padding-top: 40px;
    }

    #sg_product_card .sg_hero > img:nth-child(2) {
        left: calc(50% + 40px);
        transform: translateX(-50%);
    }

    #sg_product_card .sg_hero > img:nth-child(3) {
        left: calc(50% - 140px);
        transform: translateX(-50%);
    }

    #sg_product_card .sg_hero > img:nth-child(4) {
        width: 120px;
        right: 20px;
        bottom: unset;
        top: 20px;
    }

    #sg_product_card .sg_hero_content {
        padding: 20px;
    }

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

    #sg_product_card .sg_video_with_desc img {
        margin-bottom: -20px;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) > picture img {
        max-width: 100px;
        padding-right: 0;
        box-sizing: content-box;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(1),
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(2) {
        display: none;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(3) {
        left: unset;
        transform: unset;
        right: 60px;
        max-width: 40%;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_text {
        width: 60%;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_image img:nth-child(2),
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_image img:nth-child(2) {
        left: unset;
        transform: unset;
        right: -20%;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_image img:nth-child(1),
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_image img:nth-child(1) {
        left: calc(50% - 200px);
        transform: translateX(-50%);
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_content,
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_content {
        padding: 20px;
    }

    #sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(5) {
        flex-direction: column;
        padding: 40px 20px;
    }

    #sg_product_card .sg_set_simple {
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid #001640;
        padding-bottom: 40px;
    }

    #sg_product_card .sg_other_features {
        padding-left: 0;
        padding-top: 40px;
    }

    #sg_product_card .sg_set_simple_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #sg_product_card .sg_other_features_grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    #sg_product_card .sg_other_features_grid_item {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
        row-gap: 10px;
        justify-items: center;
    }

    #sg_product_card .sg_other_features_grid_item img {
        align-self: center;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_item {
        padding: 20px;
        flex-direction: column;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_content {
        width: 100%;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(7) .sg_chess_image img {
        display: block;
        max-width: 100%;
        position: relative;
        right: unset;
        bottom: unset;
        padding-left: 0;
    }
}

@media screen and (max-width: 600px) {

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_title,
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_title {
        font-size: 24px;
        line-height: 28px;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(3) .sg_chess_text p,
    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(4) .sg_chess_text p {
        font-size: 20px;
        line-height: 26px;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) {
        display: flex;
        flex-direction: column-reverse;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_image img {
        display: block;
        position: relative;
        transform: unset;
        left: unset;
        right: unset;
        bottom: unset;
        width: 100%;
        max-width: 100%;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(5) .sg_chess_content {
        width: 100%;
        padding: 20px;
        min-height: unset;
    }

    #sg_product_card .sg_matt_wrapper {
        flex-direction: column;
    }

    #sg_product_card .sg_matt_wrapper .sg_matt_box > div {
        min-height: 440px;
        padding: 20px;
        padding-top: 40px;
    }

    #sg_product_card .sg_set_simple_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 468px) {

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) > picture img {
        padding: 20px;
        padding-top: 180px;
        padding-right: 0;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(1) .sg_chess_content {
        padding: 20px;
        padding-top: 20px;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) {
        display: flex;
        flex-direction: column;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image {
        order: 2;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_image img:nth-child(3) {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 60%;
        right: unset;
        position: relative;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_content {
        order: 1;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_text {
        width: 100%;
        padding: 20px;
    }

    #sg_product_card .sg_card_content > .sg_chess:nth-child(3) .sg_chess_item:nth-child(2) .sg_chess_content > img {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 80%;
    }
}
