@font-face {
  font-family: "NestleText-Book";
  src: url('../fonts/NestleText-Book.otf');
  font-display: swap;
}

@font-face {
  font-family: "NestleText-Bold";
  src: url('../fonts/NestleText-Bold.otf');
  font-display: swap;
}

@font-face {
  font-family: "Nunito-Bold";
  src: url('../fonts/Nunito-Bold.ttf');
  font-display: swap;
}

@font-face {
	font-family: "Nunito-ExtraBold";
	src: url('../fonts/Nunito-ExtraBold.ttf');
}

@font-face {
	font-family: "Nunito-Regular";
	src: url("../fonts/Nunito-Regular.ttf");
}

:root {
  --title: 28px;
  --body-max: 24px;
  --body: 20px;
  --detail-max: 14px;
  --detail: 11px;

  --regular: "NestleText-Book";
  --bold: "NestleText-Bold";
  --nunito-400: 'Nunito-Regular';
  --nunito-bold: "Nunito-Bold";
  --nunito-800: 'Nunito-ExtraBold';

  --container-max: 1440px;

  --white: #FFFFFF;
  --blue: #006BB3;
  --dark-indigo: #1A1B4A;
  --indigo-blue: #1D1F76;
  --purple: #900FF0;
}

html,
body {
  scroll-behavior: smooth;
}

.chocolates .loader {
  background-color: #1D1E54;
}

.desktop-only {
  display: block !important;
}

.mobile-only {
  display: none !important;
}

.chocolates.smg header {
  background-color: var(--dark-indigo) !important;
  box-shadow: none !important;
}

.chocolates.smg header .logo-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.chocolates.smg header .logo-links img {
  width: 95px;
  height: auto !important;
}

.chocolates.smg.menuActive header.menuFloated {
  border-bottom: none;
}

.smg-container{
  max-width: var(--container-max);
  margin: 0px auto;
}

.smg-hero {
  background-color: var(--dark-indigo);
  padding-right: 60px
}

.smg-img-hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 0px;
  padding-top: 28%;
  overflow: hidden;
}

.smg-img-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-smg-timer {
  background-color: var(--indigo-blue);
  width: 100%;
  padding: 24px 0px;
}

.container-smg-timer h2 {
  color: var(--white);
  text-align: center;
  font-size: var(--title);
  font-family: var(--bold);
  line-height: 1.1;
}

.container-smg-timer h2 span {
  background-color: #333580;
  padding: 8px;
  border-radius: 8px;
  margin-left: 8px;
}

.smg-container-carousel {
  background-color: #13145A;
  padding-bottom: 50px;
}

.smg-container-carousel h1 {
  color: var(--white);
  text-align: center;
  font-size: var(--title);
  font-family: var(--bold);
  line-height: 1.1;
  padding-top: 24px;
  padding: 24px 24px 8px 24px;
}

.smg-container-carousel p {
  color: var(--white);
  text-align: center;
  font-size: var(--body);
  font-family: var(--regular);
  line-height: 1.1;
  font-weight: normal;
  padding: 0px 24px;
  padding-bottom: 32px;
}

.container-smg-caroulsels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  justify-items: stretch;
  padding:112px 70px 50px 70px;
  gap: 90px;
  overflow: hidden;
}

.container-carousel-negresco,
.container-carousel-bono {
  width: 100%;
  min-width: 0;
  position: relative;
}

.smg-bono-card,
.smg-negresco-card {
    background: linear-gradient(
    180deg,
    #6E478D 0%,
    #402E81 50%,
    #2B357C 100%
  );
  border-radius: 16px 16px 24px 24px;
  width: 100%;
}

.smg-product-image {
  position: relative;
  width: 112%;
  padding-top: 30%; 
}

.smg-product-image img {
    position: absolute;
    left: 45%;
    top: 15%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto;
}

.smg-container-tags {
  width: fit-content;
  margin: 0px auto 16px auto;
}

.smg-container-tags span {
  color: var(--white);
  text-align: center;
  font-size: var(--detail);
  font-family: var(--nunito-bold);
  line-height: 16px;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 9999px;
}

.smg-container-tags span:first-of-type {
  background-color: var(--purple);
}

.smg-container-tags span:last-of-type {
  background-color: var(--blue);
  margin-left: 6px;
}

.smg-negresco-card h3,
.smg-bono-card h3 {
  color: var(--white);
  text-align: center;
  font-size: var(--body);
  font-family: var(--bold);
  line-height: 1.1;
  padding-bottom: 16px;
}

.smg-container-buy {
  padding-bottom: 16px;
}

.smg-container-buy a {
  cursor: pointer;
  width: 100%;
  background-color: var(--white);
  color: #5F309F;
  text-align: center;
  font-size: var(--detail-max);
  font-family: var(--nunito-bold);
  line-height: 1.1;
  padding: 11px;
  border-radius: 9999px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.smg-container-buy a:hover {
  background-color: #E0CFFB;
}

.smg-container-buy a img {
  flex-shrink: 0;
}

.chocolates.smg .owl-carousel .owl-item:not(.active) {
  opacity: 0;
}

.chocolates.smg .owl-theme .owl-nav {
    right: inherit;
    left: inherit;
    top: inherit;
    position: absolute;
    width: 100%;
    bottom: -50px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.chocolates.smg .owl-carousel .owl-nav .owl-next {
  background-image: url("../assets/chevron-right.svg");
  background-repeat: no-repeat;
  background-size: 36px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.chocolates .owl-carousel .owl-nav .owl-prev {
  background-image: url("../assets/chevron-left.svg");
  background-repeat: no-repeat;
  background-size: 36px;
  width: 36px;
  height: 36px;
  margin-left: 0px;
  flex-shrink: 0;
}

.chocolates.smg .owl-carousel .owl-nav span {
  display: none;
  line-height: 0px;
}

.smg-film {
  background: linear-gradient(
    180deg,
    #13145A 0%,
    #513785 100%
  );
  padding-bottom: 48px;
}

.smg-film h2 {
  color: var(--white);
  text-align: center;
  font-size: var(--body-max);
  font-family: var(--bold);
  line-height: 1.1;
  padding-bottom: 16px;
}

.smg-film .smg-container {
  padding: 0px 192px
}

.smg-film .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0px;
    overflow: hidden;
}

.smg-film .video-wrapper iframe{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.chocolates.smg footer {
  background-color: #1D1E54;
  padding: 25px 0px 40px 0px;
}

.chocolates.smg footer .smg-container {
  padding: 0px 142px;
}

.smg-container-nestle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.smg-container-nestle-logo {
  width: 105px;
  height: auto;
  flex-shrink: 0;
}

.smg-container-nestle-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smg-footer-container-infos {
  color: var(--white);
  font-family: var(--nunito-400);
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.smg-footer-container-infos a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #1D1E54;
  transition: all 500ms;
}

.smg-footer-container-infos a:hover {
  text-decoration-color: var(--white);
}

/* .smg-footer-container-infos p {
  font-size: 12px;
  font-family: var(--nunito-400);
  line-height: 1.1;
} */

.smg-container-nestle-privacy-policy a {
  color: var(--white);
  font-size: 16px;
  font-family: var(--nunito-400);
  padding-top: 16px;
  display: block;
  transition: all 500ms;
  text-decoration: underline;
  text-decoration-color: #1D1E54;
  cursor: pointer;
}

.smg-container-nestle-privacy-policy a:hover {
  text-decoration-color: var(--white);
}

.smg-container-nintendo-infos {
  padding-top: 24px;
}

.smg-container-nintendo-infos p {
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  font-family: var(--nunito-400);
  font-size: 14px;
  line-height: 1.1;
}

@media (max-width: 1024px) {

  :root {
    --title: 28px;
    --body-max: 24px;
    --body: 20px;
    --detail-max: 14px;
    --detail: 11px;
    --container-max: 100%;

  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .smg-hero {
    background-color: var(--dark-indigo);
    padding: 0px 0px;
    padding-top: 130px;
  }

  .smg-img-hero-mobile {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 0px;
    padding-top: 91%;
    overflow: hidden;
  }

  .smg-img-hero-mobile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .container-smg-timer {
    padding: 16px 0px;
  }

  .container-smg-timer h2 {
    padding: 0px 60px;
    font-size: 24px;
  }

  .container-smg-timer h2 span {
    display: block;
    width: fit-content;
    margin: 0px auto;
    margin-top: 8px;
    font-size: 18px;
  }

  .smg-container-carousel p {
    padding-bottom: 16px;
  }


  .container-smg-caroulsels {
    grid-template-columns: 1fr;
    padding: 70px 16px 50px 16.5px;
    gap: 114px;
  }

  .smg-bono-card, .smg-negresco-card {
    width: calc(100% - 34px);
    margin-left: 16px;
}

.chocolates.smg .owl-carousel .owl-nav .owl-prev,
.chocolates.smg .owl-carousel .owl-nav .owl-next {
    background-size: 24px;
    width: 24px;
    height: 24px;
}

.chocolates.smg .owl-theme .owl-nav {
    bottom: -36px;
}

.smg-container-carousel {
  padding-bottom: 30px;
}

.smg-film .smg-container {
  padding: 0px 0px;
}

.smg-film .video-wrapper iframe {
  border-radius: 0px;
}

.smg-film {
  padding-bottom: 32px;
}

.smg-container-nestle-footer {
  flex-direction: column;
  gap: 32px;
  align-items: start;
}

.smg-container-nestle-logo {
  width: 84px;
  height: auto;
}

.smg-footer-container-infos p,
.smg-container-nestle-privacy-policy a,
.smg-footer-container-infos a {
  font-size: 14px;
  line-height: 1.2;
}

.smg-footer-container-infos p:last-of-type {
  font-size: 12px;
  font-family: var(--nunito-400);
  color: var(--white);
  padding-top: 16px;
}

.chocolates.smg footer .smg-container {
  padding: 0px 24px;
}

.smg-container-logo-footer {
  width: 84px;
  display: block;
}
.smg-container-logo-footer img {
  width: 84px !important;
  height: auto !important;
  object-fit: cover;
}

.smg .sitemap h2 {
color: white;
text-transform: uppercase;
padding-top: 32px;
padding-bottom: 16px;
font-family: var(--nunito-800);
font-size: 16px;
}

.smg .sitemap nav {
padding-bottom: 32px;
font-family: var(--nunito-400);
font-size: 14px;
display: flex;
flex-direction: column;
gap: 16px;
}

.smg .sitemap a {
color: white;
text-decoration: none;
cursor: pointer;
}

.chocolates.smg footer .socials {
    overflow: hidden;
    float: none;
}

.chocolates.smg footer .socials a {
    float: left;
    margin-right: 10px;
    text-decoration: none;
    display: block;
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
}

.chocolates.smg footer .socials a.twitter {
    background-image: url('../assets/twitter.svg');
}

.chocolates.smg footer .socials a.facebook {
    background-image: url('../assets/facebook.svg');
}

.chocolates.smg footer .socials a.insta {
    background-image: url('../assets/instagram.svg');
}

.chocolates.smg footer .info h4 {
  margin: 0px !important;
}

.chocolates.smg footer .info .tel{
  font-family: var(--nunito-400) !important;
  font-size: 14px !important;
  color: white;
  padding: 16px 0px !important;
  margin: 0px !important;
}

.chocolates.smg footer .info .mail {
  font-family: var(--nunito-400) !important;
  font-size: 14px !important;
  color: white;
}

.info-nintendo p {
  color: var(--white);
  font-family: var(--nunito-400);
  font-size: 12px;
  padding-top: 22px;
  padding-bottom: 32px;
}

.chocolates.smg footer .politics img {
  margin: 0px !important;
}

footer .politic-term{
  color: var(--white);
  font-family: var(--nunito-400);
  font-size: 14px;
  padding-top: 16px;
}
}

@media (min-width: 420px) and (max-width: 1024px) {
    .smg-bono-card, .smg-negresco-card {
        max-width: 600px;
        margin: 0px auto;
    }

    .container-smg-caroulsels {
        grid-template-columns: 1fr;
        padding: 115px 16px 50px 16.5px;
        gap: 169px;
    }
}

@media (max-width: 359px) {
    .container-smg-timer h2 {
        padding: 0px 40px;
    }
}