#sg_product_card {
    width: 100%;
    max-width: 1000px;
}

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

#sg_product_card p {
    margin: 0;
}

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

#sg_product_card .sg_hero {
    position: relative;
}

#sg_product_card .sg_hero_content {
    z-index: 10;
    position: absolute;
}

#sg_product_card .sg_title {
    position: relative;
    z-index: 1;
}

#sg_product_card .sg_main_section_icons {
    display: grid;
}

#sg_product_card .sg_main_section_icon {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    min-width: 0;
}

#sg_product_card .sg_main_section_icon p {
    font-weight: 700;
}

#sg_product_card .sg_card_content {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#sg_product_card .sg_wide_section {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#sg_product_card .sg_inline_icon {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

#sg_product_card .sg_inline_icon_text {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

#sg_product_card .sg_inline_icon_title {
    text-align: center;
}

#sg_product_card .sg_center {
    text-align: center;
}

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

#sg_product_card .sg_chess_content {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#sg_product_card .sg_chess_header {
    -webkit-box-align: center;
    align-items: center;
    display: -webkit-box;
    display: flex;
}

#sg_product_card .sg_chess_header_title {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#sg_product_card .sg_chess_title {
    font-weight: 700;
}

#sg_product_card .sg_chess_text {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#sg_product_card .sg_video_with_desc {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

/* ----------------- IKONKA AI -------------------------- */

#sg_product_card .zdjecie-kontener {
    position: relative;
}

#sg_product_card .ikonka-chmurka {
    outline: none;
    z-index: 10;
    position: absolute;
}

#sg_product_card .ikona {
    font-size: 9px;
}

#sg_product_card .sg_logo {
    text-align: center;
}

/* ustawienia kolory, zdjęcia, rozmiary i odstępy. */
@font-face {
    font-family: 'Poppins';
    src: url('/files/descriptions/font/14/14642952/storage_app_opisy2_asko_2153799_fonts/poppins_light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

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

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

@font-face {
    font-family: 'Roboto';
    src: url('/files/descriptions/font/14/14642952/storage_app_opisy2_asko_2153799_fonts/roboto_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Kolory, czcionka i szerokość. */

#sg_product_card {
    margin-inline: auto;
    background: #553a2b;
    color: #f0e4d4;
    font: 400 17px/25px 'Poppins', sans-serif;
    -webkit-text-size-adjust: 100%;
}

#sg_product_card img,
#sg_product_card video {
    display: block;
}

#sg_product_card strong {
    font-weight: 700;
}

/* zdjecie w tle, napisy i trzy cechy. */

#sg_product_card .sg_hero {
    min-height: 639px;
    background: #412A1E;
    color: #fff;
}

#sg_product_card .sg_hero_content {
    left: 5%;
    top: 50px;
    width: 45%;
    font-size: 16px;
    line-height: 20px;
}

#sg_product_card .sg_hero_content>img {
    width: 147px;
    height: 29px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: left;
    object-position: left;
    margin-bottom: 19px;
}

#sg_product_card .sg_title {
    font-size: 31.55px;
    line-height: 40px;
    font-weight: 400;
}

#sg_product_card .sg_strong {
    font-size: 45px;
    line-height: 55px;
    font-weight: 300;
    margin-top: 40px;
}

#sg_product_card .sg_main_section_icons {
    z-index: 11;
    position: absolute;
    left: 5%;
    bottom: 50px;
    width: 90%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px;
    min-height: 206px;
    border: 2px solid #8B5E3C;
    border-radius: 30px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.06)), color-stop(58.65%, rgba(0, 0, 0, 0.01)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.01) 58.65%);
    -webkit-backdrop-filter: blur(6.800000190734863px);
    backdrop-filter: blur(6.800000190734863px);
}

#sg_product_card .sg_main_section_icon img {
    width: 104px;
    height: 104px;
    -o-object-fit: contain;
    object-fit: contain;
}

#sg_product_card .sg_main_section_icon p {
    font-size: 18px;
    line-height: 25px;
    color: #F5E8DA;
}

#sg_product_card .sg_card_content {
    gap: 0;
}

/* tlo sekcji pianka. */
#sg_product_card .sg_card_content>.sg_chess {
    background: #553B2C;
}

#sg_product_card .sg_wide_section {
    gap: 0;
    padding: 64px 40px;
}

#sg_product_card .sg_inline_icon_text {
    width: 100%;
}

#sg_product_card .sg_inline_icon_title {
    font-size: 36px;
    line-height: 43px;
    font-weight: 400;
    color: #F5E8DA;
}

#sg_product_card .sg_center {
    margin-top: 30px;
    color: #F5E8DA;
}

#sg_product_card .sg_chess {
    display: grid;
    min-width: 0;
}

#sg_product_card .sg_chess_item {
    min-width: 0;
}

#sg_product_card .sg_chess_image {
    min-width: 0;
}

#sg_product_card .sg_chess_image img {
    -o-object-fit: cover;
    object-fit: cover;
}

#sg_product_card .sg_chess_content {
    min-width: 0;
}

#sg_product_card .sg_chess_header_title {
    width: 100%;
}

#sg_product_card .sg_chess_title {
    font-size: 22px;
    line-height: 28px;
    color: #F5E8DA;
}

#sg_product_card .sg_chess_text {
    font-size: 17px;
    line-height: 25px;
    color: #F5E8DA;
}

#sg_product_card .sg_chess_text p+p {
    margin-top: 23px;
}

#sg_product_card .sg_video_with_desc {
    margin-top: 30px;
}

#sg_product_card .sg_video_with_desc>img,
#sg_product_card .sg_video_with_desc video {
    width: 100%;
    aspect-ratio: 920 / 350;
    -o-object-fit: cover;
    object-fit: cover;

}

#sg_product_card .sg_video_with_desc video {
    -o-object-position: bottom;
    object-position: bottom;
}

/* pianka zdjęcie po lewej, tekst po prawej. */

#sg_product_card .sg_card_content>.sg_chess>.sg_chess_item {
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr);
    -webkit-box-align: center;
    align-items: center;
}

#sg_product_card .sg_card_content>.sg_chess .sg_chess_image img {
    height: 560px;
}

#sg_product_card .sg_card_content>.sg_chess .sg_chess_content {
    padding: 40px;
    gap: 20px;
}

#sg_product_card .sg_card_content>.sg_chess .sg_chess_title {
    font-size: 36px;
    line-height: 43px;
    font-weight: 400;
    color: #F5E8DA;
}

/* zzyszczenie 3 kafelki obok siebie. */

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) {
    background: #412A1E;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 29px;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess_image img {
    aspect-ratio: 4 / 3;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess_content {
    padding-top: 12px;
    gap: 40px;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess_header {
    min-height: 63px;
}

/* Komfort 2 kafelki w rzedzie. */

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(3) .sg_chess {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 40px;
    margin-top: 30px;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(3) .sg_chess_image img {
    aspect-ratio: 440 / 270;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(3) .sg_chess_content {
    padding-top: 16px;
    gap: 18px;
}

/* sekcje z duzym zdjeciem lub filmem. */

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(4),
#sg_product_card .sg_card_content>.sg_wide_section:nth-child(6) {
    background: #412A1E;
}

#sg_product_card .sg_card_content>.sg_wide_section:nth-child(5) {
    padding-bottom: 82px;
}

#sg_product_card .ikonka-chmurka {
    bottom: 10px;
    left: 12px;
}

#sg_product_card .ikona {
    display: block;
    padding: 1px 4px;
    font-family: 'Roboto', sans-serif;
    line-height: 14px;
    color: #555;
    background: rgba(255, 255, 255, .75);
    border-radius: 4px;
}

/* asko historia zdjęcie na całą szerokość, tekst pod spodem. */

#sg_product_card .sg_card_content>.sg_wide_section:last-child {
    padding: 52px 0 0;
}

#sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_inline_icon {
    padding-inline: 40px;
}

#sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_inline_icon_title {
    font-size: 40px;
    line-height: 60px;
    font-weight: 300;
}

#sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_video_with_desc {
    margin-top: 40px;
}

#sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_video_with_desc img {
    aspect-ratio: 1000 / 675;
}

#sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_chess_text {
    padding: 35px 65px 0;
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
}

#sg_product_card .sg_logo {
    padding: 55px 24px 65px;
}

#sg_product_card .sg_logo img {
    width: 274px;
    height: 54px;
    -o-object-fit: contain;
    object-fit: contain;
    margin-inline: auto;
}

/* mniejsze napisy i odstępy na mniejszym ekranie. */
@media (max-width: 991px) {
    #sg_product_card .sg_hero_content {
        top: 30px;
    }

    #sg_product_card .sg_strong {
        font-size: 38px;
        line-height: 47px;
        margin-top: 25px;
    }

    #sg_product_card .sg_main_section_icons {
        bottom: 30px;
        padding: 16px 12px;
        min-height: 170px;
    }

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

    #sg_product_card .sg_main_section_icon p {
        font-size: 16px;
        line-height: 23px;
    }

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

    #sg_product_card .sg_card_content>.sg_chess .sg_chess_content {
        padding: 32px 24px;
    }

    #sg_product_card .sg_card_content>.sg_chess .sg_chess_title {
        font-size: 30px;
        line-height: 38px;
    }

}

/* telefon ulozenie pod sobą. */
/* Zostawiamy nową linię po „12 napojów.” na telefonie. */
@media (max-width: 767px) {
    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(4) .sg_inline_icon_title br {
        display: inline;
    }
}

@media (max-width: 767px) {
    #sg_product_card .sg_card_content>.sg_chess:first-child .sg_chess_text br {
        display: none;
    }

    #sg_product_card {
        font-size: 15px;
        line-height: 23px;
    }

    #sg_product_card .sg_hero {
        min-height: 0;
        padding: 35px;
        overflow: hidden;
    }

    #sg_product_card .sg_hero_content {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding-bottom: 24px;
        font-size: 12px;
        line-height: 18px;
    }

    #sg_product_card .sg_hero_content>img {
        margin-bottom: 18px;
    }

    #sg_product_card .sg_title {
        font-size: 24px;
        line-height: 31px;
    }

    #sg_product_card .sg_strong {
        font-size: 34px;
        line-height: 42px;
        margin-top: 25px;
    }

    #sg_product_card .sg_main_section_icons {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        padding: 16px 12px;
        gap: 28px;
        grid-template-columns: 1fr;
    }

    #sg_product_card .sg_main_section_icon p {
        font-size: 16px;
        line-height: 16px;
    }

    #sg_product_card .sg_wide_section {
        padding: 40px 24px;
    }

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

    #sg_product_card .sg_inline_icon_title br,
    #sg_product_card .sg_center br,
    #sg_product_card .sg_chess_text br {
        display: none;
    }

    #sg_product_card .sg_center {
        margin-top: 20px;
    }

    #sg_product_card .sg_chess_text {
        font-size: 15px;
        line-height: 23px;
    }

    #sg_product_card .sg_card_content>.sg_chess>.sg_chess_item {
        grid-template-columns: 1fr;
    }

    #sg_product_card .sg_card_content>.sg_chess .sg_chess_image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    #sg_product_card .sg_card_content>.sg_chess .sg_chess_content {
        padding: 32px 24px 40px;
        gap: 20px;
    }

    #sg_product_card .sg_card_content>.sg_chess .sg_chess_title {
        font-size: 26px;
        line-height: 34px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess,
    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(3) .sg_chess {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 28px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess_content,
    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(3) .sg_chess_content {
        padding-top: 14px;
        gap: 14px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(2) .sg_chess_header {
        min-height: 0;
    }

    #sg_product_card .sg_chess_title {
        font-size: 21px;
        line-height: 28px;
    }

    #sg_product_card .sg_chess_title br {
        display: none;
    }

    #sg_product_card .sg_video_with_desc {
        margin-top: 26px;
    }

    #sg_product_card .sg_video_with_desc>img {
        aspect-ratio: 327 / 190;
    }

    #sg_product_card .sg_video_with_desc video {
        aspect-ratio: 327 / 160;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:nth-child(5) {
        padding-bottom: 40px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:last-child {
        padding-top: 40px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_inline_icon {
        padding-inline: 24px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_inline_icon_title {
        font-size: 26px;
        line-height: 37px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_video_with_desc {
        margin-top: 28px;
    }

    #sg_product_card .sg_card_content>.sg_wide_section:last-child .sg_chess_text {
        padding: 28px 24px 0;
        font-size: 15px;
        line-height: 22px;
    }

    #sg_product_card .sg_logo {
        padding: 35px 24px 40px;
    }

    #sg_product_card .sg_logo img {
        width: 160px;
        height: 31px;
    }

}

@media (prefers-reduced-motion: reduce) {

    #sg_product_card .zdjecie-kontener video {
        visibility: hidden;
    }

}

/* tablet baner trochę niższy. */
@media (min-width: 768px) and (max-width: 991px) {
    #sg_product_card .sg_hero {
        min-height: 590px;
    }

}

#sg_product_card .sg_main_section_icons::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: inherit;
    background: -webkit-gradient(linear, left top, left bottom, from(#8B5E3C), to(#ffffff));
    background: linear-gradient(to bottom, #8B5E3C 0%, #ffffff 100%);
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#sg_product_card .sg_hero>img {
    width: 100%;
    height: 639px;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (min-width: 768px) and (max-width: 991px) {
    #sg_product_card .sg_hero>img {
        height: 590px;
    }
}

/* napisy, zdjęcie, a pod nim trzy cechy. */
@media (max-width: 767px) {
    #sg_product_card .sg_hero>img {
        height: auto;
        aspect-ratio: 305 / 281;
        -o-object-position: 75% center;
        object-position: 75% center;
    }

    #sg_product_card .sg_hero_content>p:not([class]) {
        max-width: 150px;
    }

    #sg_product_card .sg_main_section_icons {
        margin-top: 24px;
        min-height: 0;
        padding: 16px 12px;
        gap: 20px;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(37, 19, 8, 0.20)), color-stop(58.65%, rgba(0, 0, 0, 0.23)));
        background: linear-gradient(180deg, rgba(37, 19, 8, 0.20) 0%, rgba(0, 0, 0, 0.23) 58.65%);
    }

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

    #sg_product_card .sg_main_section_icon p br {
        display: none;
    }
}