:root {
  --smartm-white: #fff;
  --smartm-green: #007f33;
  --smartm-border: #d8cfc7;
  --smartm-brown: #3a3735;
  --smartm-forest: #3a3735;
  --smartm-sand: #fff5ec;
  --smartm-sand-light: #fffeff;
}

#smartm {
  width: 100%;
  max-width: 980px;
  padding: 32px 16px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border: 1px solid var(--smartm-border);
  background-color: var(--smartm-white);
}

#smartm * {
  font-family: "IberPangea" !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#smartm h2,
#smartm h3,
#smartm h4 {
  margin-top: 0 !important;
}

#smartm ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#smartm ul li:before {
  content: none !important;
  display: none !important;
}

#smartm img {
  display: block;
  width: 100%;
}

#smartm .smartm_title {
  color: var(--smartm-green) !important;
  font-size: 32px;
  line-height: 1.125;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  margin-bottom: 10px;
}

#smartm .smartm_title strong {
  font-weight: 600;
}

#smartm .smartm_text {
  padding: 10px 16px;
  border-radius: 15px;
  background: var(--smartm-green);
  color: var(--smartm-sand-light);
  font-size: 16px;
  line-height: 1.37;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  text-wrap: balance;
  width: 100%;
  margin-bottom: 10px;
}

#smartm .smartm_item {
  position: relative;
  border-radius: 15px;
  background: var(--smartm-sand);
  padding: 46px 16px 42px;
}

#smartm .smartm_item_content {
  width: 100%;
  max-width: 226px;
  margin: 0 auto;
  position: relative;
}

#smartm .smartm_item-2 .smartm_item_content {
  max-width: 222px;
}

#smartm .smartm_item_text {
  width: 100%;
  border-radius: 15px;
  padding: 10px 22px;
  background: var(--smartm-white);
  color: var(--smartm-brown);
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  position: absolute;
  max-width: 194px;
  left: 50%;
  transform: translateX(-50%);
}

#smartm .smartm_item_text-1 {
  top: -30px;
}

#smartm .smartm_item_text-2 {
  top: 37px;
}

#smartm .smartm_item_text-3 {
  top: 330px;
}

#smartm .smartm_item_text-4 {
  top: 400px;
}

#smartm .smartm_item_text-5 {
  top: -30px;
  text-align: center;
}

#smartm .smartm_item_text-6 {
  top: 37px;
  text-align: center;
}

#smartm .smartm_item_text-7 {
  top: 330px;
}

#smartm .smartm_item_text-8 {
  top: 400px;
}

#smartm .smartm_item_image {
  display: none;
}

#smartm .smartm_item_illustration {
  display: block;
}

#smartm .swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}

#smartm .swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

#smartm .swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out;
}

#smartm .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}

#smartm .swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}

#smartm .swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

#smartm .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

#smartm .swiper-android .swiper-slide,
#smartm .swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

#smartm .swiper-pointer-events {
  touch-action: pan-y;
}

#smartm .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  transition-property: transform;
  opacity: 0 !important;
}

#smartm .swiper-slide-active {
  opacity: 1 !important;
}

#smartm .swiper-slide-invisible-blank {
  visibility: hidden;
}

#smartm .swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#smartm .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

#smartm .swiper-horizontal.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

#smartm .swiper-button-lock {
  display: none;
}

#smartm .swiper-slide {
  overflow: hidden;
}

#smartm .smartm_swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

#smartm .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  gap: 16px;
}

#smartm .swiper-button-prev,
#smartm .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin: 0;
}

#smartm .swiper-button-prev {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/ico-prev.svg");
}

#smartm .swiper-button-next {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/ico-next.svg");
}

#smartm .swiper-button-prev.swiper-button-disabled,
#smartm .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

#smartm .smartm_note {
    color: var(--smartm-brown);
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    text-wrap: balance;
    margin-top: 10px;
}

#smartm .smartm_note:before {
    content: '';
    display: block;
    width: 100%;
    height: 17px;
    border-radius: 0 0 17px 17px;
    border: 1px solid var(--smartm-green);
    border-top: none;
    margin-bottom: 16px;
}

@media (min-width: 700px) {
  #smartm {
    padding: 40px 32px 24px;
  }

  #smartm .smartm_title {
    margin-bottom: 24px;
  }

  #smartm .smartm_text {
    font-size: 18px;
    margin-bottom: 16px;
  }

  #smartm .swiper-button-prev:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/ico-prev-hover.svg");
  }

  #smartm .swiper-button-next:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/ico-next-hover.svg");
  }

  #smartm .smartm_item_illustration {
    display: none;
  }

  #smartm .smartm_item {
    position: relative;
    border-radius: 15px;
    background: var(--smartm-sand);
    padding: 16px 16px 16px;
  }

  #smartm .smartm_item-2 {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  #smartm .smartm_item_content {
    width: 100%;
    max-width: 474px;
    height: 240px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #smartm .smartm_item_content:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/bg-1.svg");
    background-repeat: no-repeat;
    background-size: 305px auto;
    background-position: center 20px;
  }

  #smartm .smartm_item-2 .smartm_item_content {
    max-width: 474px;
  }

  #smartm .smartm_item-2 .smartm_item_content:before {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/contadores-inteligentes/images/bg-2.svg");
    background-size: 390px 141px;
    background-position: center 60px;
  }

  #smartm .smartm_item_image {
    display: block;
    max-width: 172px;
    opacity: 1;
    transition: opacity 0.5s;
  }

  #smartm .smartm_item_image.inactive {
    opacity: 0.3;
  }

  #smartm .smartm_item-2 .smartm_item_image {
    max-width: 334px;
  }

  #smartm .smartm_item_image-2,
  #smartm .smartm_item_image-3,
  #smartm .smartm_item_image-4,
  #smartm .smartm_item_image-6,
  #smartm .smartm_item_image-7,
  #smartm .smartm_item_image-8 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #smartm .smartm_item_text {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 165px;
    left: auto;
    transform: none;
    top: auto;
    z-index: 10;
    border: 1px solid transparent;
    transition: all 0.5s;
  }

  #smartm .smartm_item_text.active {
    border-color: var(--smartm-forest);
  }

  #smartm .smartm_item_text-1 {
    top: 0;
    left: 0;
  }

  #smartm .smartm_item_text-2 {
    top: 0;
    right: 0;
  }

  #smartm .smartm_item_text-3 {
    bottom: 5px;
    left: 0;
  }

  #smartm .smartm_item_text-4 {
    bottom: 5px;
    right: 0;
  }

  #smartm .smartm_item_text-5 {
    top: 0;
    left: 0;
    text-align: left;
    max-width: 140px;
  }

  #smartm .smartm_item_text-6 {
    bottom: 10px;
    right: 0;
    text-align: center;
    max-width: 179px;
  }

  #smartm .smartm_item_text-7 {
    top: 0;
    right: 0;
    max-width: 196px;
  }

  #smartm .smartm_item_text-8 {
    bottom: 0;
    left: 0;
    text-align: left;
    max-width: 195px;
    z-index: 10;
  }

  #smartm .smartm_note {
    margin-top: 24px;
  }
}
