<style type="text/css">
.Precio-luz-section-table {
	padding: 0.75rem !important;
  	border-top: 0.0625rem solid #dee2e6 !important;
}


.header-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

.tabla-tramos-wrapper {
    margin: 40px auto;
  	font-family: 'IberPangea Text', sans-serif;
    color: #2f2f2f;
}

.titulo-tabla {

    font-family: 'IberPangea Text', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 125% */
}

.subtitulo-tabla {
    font-family: 'IberPangea Text', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */;
  	color: #6A6f6c;
}

.tabla-tramos {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f9f9f9;
    border: 1px solid #C8D9D0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.tabla-tramos thead th {
    background: #00402a;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    padding: 16px;
    border-right: 2px solid #699282;
}

.tabla-tramos thead th:last-child {
    border-right: none;
}

.tabla-tramos tbody .fila-llano {
    background: #ffffff;
}

.tabla-tramos tbody td {
    background: #f9f9f9;
  	color: #2C2C2C;
    text-align: center;
    vertical-align: middle;
    padding: 18px 14px;
    font-size: 14px;
    line-height: 1.5;
  	border-top: 1px solid #e3ebe7;
    border-right: 1px solid #e4ebe7;
    border-left: 1px solid #d4e1da;
    border-bottom: 1px solid #e3ebe7;
}

.tabla-tramos tbody td:last-child {
    border-right: none;
}

.tabla-tramos .periodo {
    font-weight: 700;
    font-size: 16px;
    color: #2C2C2C;
    width: 18%;
    background: #F0F0F0;
}

.tabla-tramos tbody td:nth-child(2) {
    width: 28%;
}

.tabla-tramos tbody td:nth-child(3) {
    width: 27%;
}

.tabla-tramos tbody td:nth-child(4) {
    width: 27%;
}

.tabla-tramos strong {
    font-weight: 700;
}

.nota-tabla {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 16px;
}

.nota-tabla___icono {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #707070;
}

.nota-tabla__texto {
    color: #474747;
}


.icono-info {
    width: 20px;
    height: 2px;
}

/* Mostrar tabla por defecto */
.desktop-only {
  display: block;
}

/* Ocultar carrusel por defecto */
.mobile-only {
  display: none;
}

/* ===== CONTROLES ===== */

.tramos-carousel-ui {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-top: 16px;
}

.carousel-arrow {
background: #ffffff;
border: 1px solid #C8D9D0;
width: 36px;
height: 36px;
border-radius: 50%;
font-size: 18px;
cursor: pointer;
color: #00402a;
line-height: 1;
}

.carousel-arrow:hover {
opacity: 0.4;
background: #f0f0f0;
}

/* dots container (ovalado) */
.carousel-dots-wrap {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
/* border-radius: 20px; */
border-radius: 999px;
background: #E6EFEA;
}

/* dots */
.dot {
width: 8px;
height: 8px;
border: 0;
border-radius: 50%;
background: #9BB8AA;
cursor: pointer;
padding: 0;
}

.dot.active {
background: #00402a;
}

/* ===== CARRUSEL ===== */

  .tramo-bloque {
    padding: 16px;
  }

  /* .tramo-bloque.valle {
    border-top: 1px solid #C8D9D0;
    border-bottom: 1px solid #C8D9D0;

  }

  .tramo-bloque.llano{
    border-top: 1px solid #C8D9D0;
    border-bottom: 1px solid #C8D9D0;
  }

  .tramo-bloque.punta{
    border-top: 1px solid #C8D9D0;
    border-bottom: 1px solid #C8D9D0;
  } */

  .tabla-tramos-wrapper {
    max-width: 100%;
    padding: 0 16px;
    margin: 20px auto;
  }

  .titulo-tabla {
    font-size: 24px;
    line-height: 32px;
  }

  .subtitulo-tabla{
    font-size: 12px;
    line-height: 18px;
  }

  .nota-tabla {
    font-size: 12px;
    line-height: 18px;
    align-items: flex-start;
  }

  .tramos-carousel {
    overflow: hidden;
    position:relative;
    scrollbar-width: none;
}

  .tramos-carousel::-webkit-scrollbar {
    display: none;
}

.tramos-track {
  display: flex;
  gap: 0px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.tramo-slide {
  min-width: 100%;
  border: 1px solid #C8D9D0;
  border-radius: 18px;
  background: #f9f9f9;
  overflow: hidden;
  flex: 0 0 100%;
  box-sizing: border-box;
}

.tramo-slide__header {
  background: #00402a;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 16px;
}

.tramo-slide__body {
  padding: 18px 16px;
  background-color: #f9f9f9;
  text-align: center;
}

.tramo-slide.llano .tramo-slide__body {
  background: #ffffff;
}

.tramo-bloque + .tramo-bloque {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e3ebe7;
}

.tramo-bloque__titulo {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  margin: 0 0 8px;
}

.tramo-bloque__texto {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #2C2C2C;
}

.tramo-bloque.llano {
  background: #ffffff;
  margin-left: -16px;
  margin-right: -16px;
  padding: 16px;
}
 /* Responsive styles */
@media (min-width: 1606px) {
  .tabla-tramos-wrapper {
    width: 1280px;
  	padding: 0;
  }

   .tabla-tramos
  {
    width: 1280px;
  }
}

@media (min-width: 1200px) and (max-width: 1605.98px) {
  .tabla-tramos-wrapper {
  	max-width: 1000px;
    padding: 0;
  }

  .tabla-tramos {
  	width: 1000px;
  }

  .titulo-tabla {
    font-size: 28px;
    line-height: 36px;
  }

  .subtitulo-tabla {
    font-size: 14px;
    line-height: 20px;
  }

  .tabla-tramos tbody td {
    padding: 20px 15px;
    font-size: 16px;
  }

  .tabla-tramos .periodo {
    font-size: 20px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .tabla-tramos-wrapper {
    max-width: 904px;
    padding: 0;
  }

  .tabla-tramos {
    width: 904px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .tabla-tramos-wrapper {
    max-width: 680px;
  	padding: 0;
  }

  .tabla-tramos {
    width: 680px;
  }
}
@media (max-width: 576px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  	width: 496px;
  }

  .tabla-tramos-wrapper {
    margin: 20px auto;
    padding: 0;
  }

  .titulo-tabla {
    font-size: 24px;
    line-height: 32px;
  }

  .subtitulo-tabla {
    font-size: 12px;
    line-height: 18px;
  }

  .nota-tabla {
    font-size: 12px;
    line-height: 18px;
    align-items: flex-start;
    padding: 0 16px;
  }
}

@media (max-width: 360px) {
  .tabla-tramos-wrapper {
    max-width: 100%;
    width: 328px;
  }

  .titulo-tabla {
    font-size: 24px;
    line-height: 32px;
  }

  .subtitulo-tabla {
    font-size: 12px;
    line-height: 18px;
  }

  .tabla-tramos tbody td {
    padding: 15px 10px;
    font-size: 14px;
  }

  .tabla-tramos .periodo {
    font-size: 18px;
  }
}