.elementor-2582 .elementor-element.elementor-element-5824976{--display:flex;--min-height:490px;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-2582 .elementor-element.elementor-element-d14b72f{width:100%;max-width:100%;}@media(max-width:767px){.elementor-2582 .elementor-element.elementor-element-5824976{--content-width:90%;}}/* Start custom CSS for html, class: .elementor-element-d14b72f */.crisalix-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 45px; 
}

.crisalix-card {
  position: relative; 
  flex: 1 1 28%;
  max-width: 320px;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background-image: url('https://casalplastica.com/wp-content/uploads/2025/06/crisalix-phone.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  margin: -45px; 
}

.crisalix-card.central {
  flex: 1 1 35%;
  max-width: 350px;
  z-index: 1;
}

.crisalix-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%; 
  height: 46%; 
  transform: translate(-50%, -50%);
  z-index: 1; 
}


.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  object-fit: contain;
  display: none;
  pointer-events: none; 
}

.video.ativo {
  display: block;
}

.toggle-buttons {
  position: absolute;
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%); 
  display: flex;
  gap: 6px;
  z-index: 3; 
}

.btn {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #00000070;
  font-weight: 400;
  font-size: 1.2rem;
  background: none;
}

.btn.active,
.btn:hover {
  color: #137191;
  font-weight: 700;
  background: none;

}

@media(max-width: 767px){
    .crisalix-wrapper {
        padding: 20px;
    }
    .crisalix-card.central {
        margin: 0px 5px;
    }
    
    .toggle-buttons{
        gap: 0px;
    }
    
    .central .btn{
        font-size: 0.9rem;
        
    }
    
    .btn{
        font-size: 0.8rem;
        padding: 0px 2px;
    }
}/* End custom CSS */