/* ===== L0 BASE ===== */
@font-face {
  font-family: "Poppins";
  src: url("/files/descriptions/font/14/14553072/storage_app_opisy2_hisense_2152012_fonts/poppins_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/files/descriptions/font/14/14553072/storage_app_opisy2_hisense_2152012_fonts/poppins_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/files/descriptions/font/14/14553072/storage_app_opisy2_hisense_2152012_fonts/poppins_semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

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

@font-face {
  font-family: "Playfair Display";
  src: url("/files/descriptions/font/14/14553072/storage_app_opisy2_hisense_2152012_fonts/playfairdisplay.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
#sg_product_card {
  width: 100%;
  max-width: 1000px;
  background: #161616;
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  font-family: Poppins, sans-serif;
  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 .sg_hero {
  position: relative;
  color: #ffffff;
}

#sg_product_card .sg_hero:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 5;
  position: absolute;
}

#sg_product_card .sg_card_content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 36px;
  padding-inline: 40px;
}

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

#sg_product_card .sg_hisense {
  text-align: center;
  padding: 88px 0;
}

#sg_product_card .sg_strong {
  font-family: "Playfair Display";
  font-weight: 700;
  font-size: 120px;
  line-height: 120%;
}

#sg_product_card .sg_medium {
  font-weight: 500;
}

#sg_product_card .sg_hero_content {
  position: absolute;
  left: 48px;
  bottom: 80px;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 1),
    0 0 2px rgba(255, 255, 255, 0.8);
  font-size: 24px;
  font-weight: 400;
  line-height: 46px;
  z-index: 6;
}

#sg_product_card .sg_main_section {
  padding-block: 32px;
  border-radius: 48px;
  border: 1px solid #4a4a4a;
  background: linear-gradient(180deg, #1f1f1f 0%, #000 100%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

#sg_product_card .sg_main_section_bg {
  border-radius: 100%;
  width: 170px;
  height: 220px;
  background: #00aaa6;
  filter: blur(78px);
  position: absolute;
  right: 20%;
  bottom: 97px;
}

#sg_product_card .sg_title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  position: relative;
  z-index: 1;
}

#sg_product_card .sg_main_section_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px;
  position: relative;
  z-index: 1;
  padding: 0 72px;
}

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

#sg_product_card .sg_main_section_icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

#sg_product_card .sg_main_section_icon_desc {
  font-size: 10px;
  line-height: normal;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: #00aaa6;
}

#sg_product_card .sg_inline_icon {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-inline: auto;
}

#sg_product_card .sg_inline_icon_title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

#sg_product_card .sg_headline_title {
  width: 100%;

  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  background: #2f2f2f;
  padding: 12px 18px;
  border-radius: 14px;
  margin: 30px 0 0;

  text-align: center;
}

#sg_product_card .sg_headline_title_text {
  transform: translate(0%, -5px);
  font-size: 50px;
}

#sg_product_card .sg_headline_title_text_small {
  transform: translate(0%, -5px);
  font-size: 16px;
  font-weight: 400;
}

#sg_product_card .sg_card_content .hisense_green {
  color: #7db3b2;
}

#sg_product_card .sg_headline_title span {
  color: #ffffff;
}

#sg_product_card .sg_video_with_desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  line-height: 18px;
}

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

#sg_product_card .sg_chess_header img {
  flex-shrink: 0;
}

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

#sg_product_card .sg_chess_title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

#sg_product_card .sg_chess_att,
#sg_product_card .sg_inline_icon_att {
  color: #00aaa6;
}

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

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

#sg_product_card .sg_chess_item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  grid-template-areas: "image text";
}

#sg_product_card .sg_chess--reversed .sg_chess_item {
  grid-template-areas: "text image";
}

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

#sg_product_card .sg_chess_image video {
  max-width: 100%;
  height: auto;
}

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

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

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

#sg_product_card .sg_chess_text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#sg_product_card .sg_chess_image img {
  width: 100%;
  font-size: 0;
  line-height: 0;
}

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

@media (max-width: 991px) {
  #sg_product_card .sg_card_content > div:first-child {
    background: linear-gradient(180deg, #131a21 0%, #6588a7 74%, #6588a7 100%);
  }
  #sg_product_card .sg_chess_item {
    gap: 24px;
    margin: 24px 0;
  }

  #sg_product_card .sg_main_section_grid {
    padding: 0 80px;
  }

  #sg_product_card .sg_main_section_icons {
    gap: 16px;
  }

  #sg_product_card .sg_main_section_bg {
    right: 25%;
  }
}

@media (max-width: 767px) {
  #sg_product_card .sg_card_content {
    gap: 32px;
    padding-top: 32px;
    padding-inline: 16px;
  }

  #sg_product_card .sg_hisense {
    padding: 64px 10%;
  }

  #sg_product_card .sg_chess {
    gap: 32px;
  }

  #sg_product_card .sg_hero {
    padding-top: 40px;
  }

  #sg_product_card .sg_hero_content {
    padding-bottom: 32px;
    padding-left: 16px;
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    color: #ffffff;
    text-shadow:
      2px 2px 4px rgba(80, 80, 80, 1),
      0 0 2px rgba(255, 255, 255, 0.8);
  }

  #sg_product_card .sg_main_section_grid {
    padding: 0;
    grid-template-columns: 1fr;
  }

  #sg_product_card .sg_main_section_icons {
    order: 2;
    gap: 24px;
    padding: 0 16px;
  }

  #sg_product_card .sg_main_section_grid img {
    display: block;
    margin: 0 auto;
  }

  #sg_product_card .sg_main_section_bg {
    right: 34%;
    bottom: auto;
    top: 160px;
    width: 140px;
    height: 240px;
    flex-shrink: 0;
  }

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

  #sg_product_card .sg_chess--reversed .sg_chess_item {
    grid-template-areas:
      "image"
      "text";
  }

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

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

@media (max-width: 450px) {
  #sg_product_card .sg_headline_title {
    font-size: 28px;
  }
}

#sg_product_card .sg_set_simple {
  padding: 40px;
  border-radius: 32px;
  border: 1px solid #4a4a4a;
  background: linear-gradient(180deg, #1f1f1f 0%, #000 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#sg_product_card .sg_set_simple_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

#sg_product_card .sg_set_simple_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #4a4a4a;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

@media (max-width: 767px) {
  #sg_product_card .sg_set_simple {
    gap: 25px;
    padding: 25px;
  }

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

  #sg_product_card .sg_set_simple_item {
    min-height: auto;
    padding: 12px 5px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 18px;
  }
}

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

#sg_product_card .zdjecie-kontener img {
  display: block;
  max-width: 100%;
}

#sg_product_card .ikonka-chmurka {
  position: absolute;
  bottom: 0;
  left: 0;
  outline: none;
  z-index: 6;
}

#sg_product_card .ikona {
  width: 90px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Roboto", sans-serif;
  font-size: 9px;
  background: rgba(255, 255, 255, 0.75);
  color: #555555;
  border-radius: 4px;
  margin: 12px 12px;
}

/* ===== L1 BRAND: hisense ===== */

#sg_product_card {
  --sg-bg: #161616;
  --sg-fg: #ffffff;
  --sg-accent: #00aaa6;
  --sg-accent-soft: #7db3b2;
  --sg-surface: linear-gradient(180deg, #1f1f1f 0%, #000 100%);
  --sg-surface-alt: #2f2f2f;
  --sg-border: #4a4a4a;
  --sg-radius-card: 48px;
  --sg-radius-box: 32px;
  --sg-radius-bar: 14px;
  --sg-font: Poppins, sans-serif;
  --sg-font-display: "Playfair Display", Georgia, serif;
}

#sg_product_card {
  background: var(--sg-bg);
  color: var(--sg-fg);
  font-family: var(--sg-font);
}

#sg_product_card .sg_hero {
  color: var(--sg-fg);
}

#sg_product_card .sg_strong {
  font-family: var(--sg-font-display);
}

#sg_product_card .sg_hero_content {
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 1),
    0 0 2px rgba(255, 255, 255, 0.8);
}

#sg_product_card .sg_main_section {
  border-radius: var(--sg-radius-card);
  border: 1px solid var(--sg-border);
  background: var(--sg-surface);
}

#sg_product_card .sg_main_section_bg {
  background: var(--sg-accent);
}

#sg_product_card .sg_main_section_icon_desc {
  color: var(--sg-accent);
}

#sg_product_card .sg_inline_icon_title {
  color: var(--sg-fg);
}

#sg_product_card .sg_headline_title {
  background: var(--sg-surface-alt);
  border-radius: var(--sg-radius-bar);
}

#sg_product_card .sg_card_content .hisense_green {
  color: var(--sg-accent-soft);
}

#sg_product_card .sg_headline_title span {
  color: var(--sg-fg);
}

#sg_product_card .sg_chess_title {
  color: var(--sg-fg);
}

#sg_product_card .sg_chess_att,
#sg_product_card .sg_inline_icon_att {
  color: var(--sg-accent);
}

#sg_product_card .sg_set_simple {
  border-radius: var(--sg-radius-box);
  border: 1px solid var(--sg-border);
  background: var(--sg-surface);
}

#sg_product_card .sg_set_simple_item {
  border: 1px solid var(--sg-border);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 767px) {
  #sg_product_card .sg_hero_content {
    color: var(--sg-fg);
    text-shadow:
      2px 2px 4px rgba(80, 80, 80, 1),
      0 0 2px rgba(255, 255, 255, 0.8);
  }
}

/* ===== L2 MODIFIERS ===== */

#sg_product_card .sg_hero--image > img:last-child {
  width: 100%;
  display: block;
}

#sg_product_card .sg_hero--no-gradient:after {
  display: none;
}

#sg_product_card .sg_main_section--no-border {
  border: 0;
}

#sg_product_card .sg_main_section--plain {
  border: 0;
  background: none;
  border-radius: 0;
  padding-block: 0;
}

#sg_product_card .sg_main_section--no-glow .sg_main_section_bg {
  display: none;
}

#sg_product_card .sg_main_section--photos .sg_main_section_icon img {
  width: 100%;
  height: auto;
  border-radius: 11px;
}

#sg_product_card .sg_main_section_grid > .sg_main_section_icons:only-child {
  grid-column: 1 / -1;
}

#sg_product_card .sg_main_section_icons--center-last {
  --sg-cols: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#sg_product_card .sg_main_section_icons--center-last .sg_main_section_icon {
  flex: 0 0 calc((100% - (var(--sg-cols) - 1) * 30px) / var(--sg-cols));
}

#sg_product_card .sg_main_section_icons--cols-3 {
  --sg-cols: 3;
  grid-template-columns: repeat(3, 1fr);
}

#sg_product_card .sg_main_section_icons--cols-4 {
  --sg-cols: 4;
  grid-template-columns: repeat(4, 1fr);
}

#sg_product_card .szeroka_sekcja--boxed {
  padding: 32px;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-box);
  background: var(--sg-surface);
}

#sg_product_card .sg_headline_title--plain {
  background: none;
  border-radius: 0;
}

#sg_product_card .sg_chess--no-alternate .sg_chess_item,
#sg_product_card .sg_chess--no-alternate .sg_chess_item:nth-of-type(2n) {
  grid-template-areas: "image text";
}

#sg_product_card .sg_chess--reversed.sg_chess--no-alternate .sg_chess_item,
#sg_product_card
  .sg_chess--reversed.sg_chess--no-alternate
  .sg_chess_item:nth-of-type(2n) {
  grid-template-areas: "text image";
}

#sg_product_card .sg_chess--boxed .sg_chess_item {
  padding: 32px;
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius-box);
  background: var(--sg-surface);
}

#sg_product_card .sg_set_simple--no-border {
  border: 0;
}

#sg_product_card .sg_set_simple--plain {
  border: 0;
  background: none;
  border-radius: 0;
  padding: 0;
}

#sg_product_card .sg_set_simple--left .sg_set_simple_list {
  justify-content: flex-start;
}

#sg_product_card .sg_hisense--compact {
  padding: 40px 0;
}

@media (max-width: 991px) {
  #sg_product_card .sg_main_section_icons--center-last {
    gap: 16px;
  }

  #sg_product_card .sg_main_section_icons--center-last .sg_main_section_icon {
    flex: 0 0 calc((100% - (var(--sg-cols) - 1) * 16px) / var(--sg-cols));
  }
  #sg_product_card .sg_main_section--photos .sg_main_section_icon img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
}

@media (max-width: 767px) {
  #sg_product_card .sg_main_section_icons--cols-3,
  #sg_product_card .sg_main_section_icons--cols-4 {
    --sg-cols: 2;
    grid-template-columns: repeat(2, 1fr);
  }

  #sg_product_card .sg_main_section_icons--center-last {
    gap: 24px;
  }

  #sg_product_card .sg_main_section_icons--center-last .sg_main_section_icon {
    flex: 0 0 calc((100% - (var(--sg-cols) - 1) * 24px) / var(--sg-cols));
  }

  #sg_product_card .szeroka_sekcja--boxed {
    padding: 20px;
  }

  #sg_product_card .sg_chess--boxed .sg_chess_item {
    padding: 20px;
  }

  #sg_product_card .sg_chess--no-alternate .sg_chess_item,
  #sg_product_card .sg_chess--no-alternate .sg_chess_item:nth-of-type(2n),
  #sg_product_card .sg_chess--reversed.sg_chess--no-alternate .sg_chess_item,
  #sg_product_card
    .sg_chess--reversed.sg_chess--no-alternate
    .sg_chess_item:nth-of-type(2n) {
    grid-template-areas:
      "image"
      "text";
  }

  #sg_product_card .sg_hisense--compact {
    padding: 40px 10%;
  }
}


/* ===== P1: nadpisania ===== */

#sg_product_card {
  --sg-bg: #0f0f0f;
}


#sg_product_card .sg_strong {
  font-family: Poppins, sans-serif;
  font-weight: 700;
}

#sg_product_card .sg_hero_content p:not(.sg_strong) {
  font-weight: 500;
  text-transform: uppercase;
}

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

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

#sg_product_card .sg_main_section_icon_desc,
#sg_product_card .sg_chess_att,
#sg_product_card .sg_inline_icon_att {
  color: #ffffff;
}

#sg_product_card .sg_set_simple_item {
  font-weight: 500;
}

#sg_product_card .sg_card_content {
  padding-top: 0;
  padding-inline: 0;
}

#sg_product_card .sg_card_content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: linear-gradient(180deg, #131a21 0%, #6588a7 65%, #6588a7 100%);
}

#sg_product_card .sg_main_section--no-border:not(.sg_main_section--photos) {
  border-radius: 0;
  background: none;
}

#sg_product_card .sg_main_section--photos.sg_main_section--no-border {
  margin-inline: 48px;
  border-radius: 24px;
  background: #0f0f0f;
}

#sg_product_card .szeroka_sekcja > .sg_inline_icon,
#sg_product_card .szeroka_sekcja > .sg_center,
#sg_product_card .szeroka_sekcja > .sg_video_with_desc {
  padding-inline: 48px;
}

#sg_product_card
  .sg_card_content
  > div:first-child
  .szeroka_sekcja
  > .sg_video_with_desc,
#sg_product_card
  .sg_card_content
  > .szeroka_sekcja:nth-child(4)
  > .sg_video_with_desc {
  padding-inline: 0;
}

#sg_product_card .sg_chess {
  padding-inline: 48px;
}

#sg_product_card .sg_chess_image {
  border-radius: 20px;
  overflow: hidden;
}

#sg_product_card .sg_chess_item .sg_chess_image {
  position: relative;
}

#sg_product_card .sg_chess_item .sg_chess_image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(173deg, rgba(220, 173, 128, 0.42) 10.35%, rgba(255, 255, 255, 0.00) 116.94%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

#sg_product_card .sg_chess_item .sg_chess_image img,
#sg_product_card .sg_chess_item .sg_chess_image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sg_product_card
  .sg_card_content
  > .szeroka_sekcja:nth-child(7)
  .sg_video_with_desc
  img {
  border: 1px solid linear-gradient(173deg, rgba(220, 173, 128, 0.42) 10.35%, rgba(255, 255, 255, 0.00) 116.94%);
  border-radius: 24px;
}

#sg_product_card .sg_set_simple {
  position: relative;
  margin-inline: 48px;
  border-radius: 24px;
}

#sg_product_card .sg_set_simple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;

  background: linear-gradient(173deg, rgba(220, 173, 128, 0.42) 10.35%, rgba(255, 255, 255, 0.00) 116.94%);

  -webkit-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_card_content
  > .sg_chess:nth-child(2)
  .sg_chess_item:nth-of-type(4)
  .sg_chess_text
  p:nth-of-type(2),
#sg_product_card
  .sg_card_content
  > .sg_chess:nth-child(6)
  .sg_chess_item:nth-of-type(1)
  .sg_chess_text
  p:nth-of-type(n + 2),
#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_center p {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
}

#sg_product_card .sg_card_content > .szeroka_sekcja:nth-child(4) .sg_center p {
  margin-top: 8px;
}

@media (max-width: 767px) {
  #sg_product_card .sg_strong {
  font-size: 48px;
}
  #sg_product_card .sg_card_content > div:first-child {
    background: linear-gradient(180deg, #131a21 0%, #6588a7 103%, #6588a7 100%);
  }
  #sg_product_card .sg_card_content {
    padding-top: 0;
    padding-inline: 0;
  }

  #sg_product_card .sg_card_content > div:first-child {
    gap: 32px;
  }

  #sg_product_card .sg_main_section--photos.sg_main_section--no-border,
  #sg_product_card .sg_set_simple {
    margin-inline: 16px;
  }

  #sg_product_card .sg_main_section--photos .sg_main_section_icons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #sg_product_card .szeroka_sekcja > .sg_inline_icon,
  #sg_product_card .szeroka_sekcja > .sg_center,
  #sg_product_card .szeroka_sekcja > .sg_video_with_desc,
  #sg_product_card .sg_chess {
    padding-inline: 16px;
  }

  #sg_product_card
    .sg_card_content
    > div:first-child
    .szeroka_sekcja
    > .sg_video_with_desc,
  #sg_product_card
    .sg_card_content
    > .szeroka_sekcja:nth-child(4)
    > .sg_video_with_desc {
    padding-inline: 0;
  }
}
