
.chat-container {
  width: 350px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: scroll;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 60vh;
}

.chat-header {
  background: #0084ff;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: scroll;
  height: 300px;
  display: flex;
  flex-direction: column;
  margin-top: 35px;
}

.chat-message {
  max-width: 80%;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 18px;
  font-size: 14px;
  word-wrap: break-word;
}

.chat-message .texto-inicial h3, .chat-message .texto-final h3{
  font-size: 0.9vw;
}

@media screen and (max-width: 767px) {
  .chat-message .texto-inicial h3, .chat-message .texto-final h3{
    font-size: 12px;
  }
}

@media screen and (min-width: 1600px) {
  .chat-message .texto-inicial h3, .chat-message .texto-final h3{
    font-size: 14px;
  }
}

.chat-message-markdown img {
  width: 30%;
}

.user-message {
  background: #0084ff;
  color: white;
  align-self: flex-end;
}

.bot-message {
  background: #e4e6eb;
  align-self: flex-start;
}

.chat-header {
  /* Existing styles for chat-header */
  display: flex; /* Make it a flex container to align items */
  align-items: center; /* Vertically align items */
  justify-content: space-between; /* Space out the title and the close button */
  padding: 10px;
  
  cursor: pointer; /* Indicate it's clickable */
}

.chat-header img {
  margin-right: 10px; /* Add some space between the image and text */
}

.chat-header .close-chatbot {
  font-size: 1.5em; /* Make the 'X' larger */
  font-weight: bold;
  cursor: pointer; /* Indicate it's clickable */
  margin-left: auto; /* Push the 'X' to the right */
  padding: 5px; /* Add some padding around the 'X' for easier clicking */
}

.chat-input {
  display: flex;
  border-top: 1px solid #ccc;
  padding: 8px;
  background: white;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 8px;
  border-radius: 18px;
  outline: none;
  background: #f0f2f5;
}

.chat-input button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-left: 8px;
  color: #0084ff;
}

.bot-message {
  white-space: normal;
  line-height: 1.4;
}
.bot-message strong {
  font-weight: bold;
  display: inline-block;
  margin-top: 0;
}
.bot-message ul, .bot-message li {
  padding-left: 1em;
  margin: 0.2em 0;
}
.bot-message br {
  content: "";
  display: block;
  margin-bottom: 0.3em;
}
.bot-message .producto {
  display: flex;
  flex-wrap: wrap;
  padding: 15px 0;
}
.bot-message .producto h2 {
  width: 100%;
  font-size: 1rem;
}
.bot-message .producto .cont {
  width: 100%;
  display: flex;
}
.bot-message .producto .cont .img {
  width: 30%;
}
.bot-message .producto .cont .img .img_prod {
  width: 100%;
  height: auto;
}
.bot-message .producto .cont .desc {
  width: 60%;
  padding-left: 10px;
}
.bot-message .producto .cont .desc .ref {
  color: black;
  font-weight: bold;
  width: 100%;
  display: block;
  text-decoration: none;
  font-size: 0.9vw;
}
.bot-message .producto .cont .desc p {
  margin: 0;
  width: 100%;
  font-size: 0.95vw;
}

.bot-message .producto .cont{
  display: block;
}

.bot-message .producto .cont .desc{
  width: 100%;
  padding-left: 0;
}


.bot-message .producto .cont .header-product{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-message .producto .cont .header-product .img{
  margin-right: 10px;
}

.bot-message .producto .cont .header-product .title-content{
  width: 70%;
}

.bot-message .producto .cont .header-product .title-content .ref{
  color: black;
  font-weight: bold;
  width: 100%;
  display: block;
  text-decoration: none;
  font-size: 0.9vw;
}


.bot-message .producto .cont .header-product h2{
  font-size: 0.9vw;
  margin: 0;
  font-weight: bold;
  color: black;
  text-align: left;

  display: -webkit-box;
  -webkit-line-clamp: 2;      /* Número de líneas máximas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bot-message .producto .cont .desc .product-link{
  margin: 10px 0;
  padding: 5px 10px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bot-message .producto .cont .desc .product-link:hover{
  background-color: #049dd9;
  border-color: #049dd9;
  color: white;
}

.product-link {
  display: inline-block;
  background-color: black;
  border-radius: 12px;
  padding: 1px 6px;
  margin: 2px;
  font-size: 0.9em;
  color: #0077cc;
  text-decoration: none;
  border: 1px solid black;
}
.product-link .add-to-cart {
  color: white;
  font-weight: bold;
}
.product-link:hover {
  background-color: #d4ebff;
}
.bot-message .texto-final h2{
  font-size: 0.9vw !important;
}


@media (max-width: 767px) {
  .bot-message .producto .cont .header-product .title-content .ref{
    font-size: 12px;
  }
  .bot-message .producto .cont .desc p{
    font-size: 12px;
  }
  .bot-message .producto .cont .header-product h2{
    font-size: 12px;
  }

}


@-webkit-keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
            transform: rotateX(-100deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 1;
  }
}
@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
            transform: rotateX(-100deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 1;
  }
}

.cart-container-new{
  position: fixed;
  width: calc(350px - 30px);
  height: calc(100% - 30px);
  top: 15px;
  right: 15px;
  background-color: white;
  z-index: 10000;
  margin-top: 0;
  visibility: hidden;
  opacity: 0;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: 4px 5px 7px 0px rgba(0,0,0,0.13);
  -webkit-box-shadow: 4px 5px 7px 0px rgba(0,0,0,0.13);
  -moz-box-shadow: 4px 5px 7px 0px rgba(0,0,0,0.13);

  /* -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5 ease-in-out; */
}

.cart-container-new.show{
  opacity: 1;
  visibility: visible;
  -webkit-animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;

}

.wp-cart-new{
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}



.wp-cart-new .separator{
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}

.car-new-header{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
}

.car-new-header-wp{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-new-header-wp h3{
  font-weight: 500;
  color: #293D53;
  font-size: 1.5vw;
}

.car-new-header-wp button{
  background-color: transparent;
  border: 0;
}

.car-new-header-wp button img{
  width: 1vw;
  min-width: 20px;
  height: auto;
}

.car-new-container{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-height: 600px) {
  .car-new-container{
    height: 490px;
    overflow-y: scroll;
    padding-right: 7px;
  }
  /* width */
  .car-new-container::-webkit-scrollbar {
    width: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }

  /* Track */
  .car-new-container::-webkit-scrollbar-track {
    background: #f1f1f1; 
    opacity: 0.2;
  }
  
  /* Handle */
  .car-new-container::-webkit-scrollbar-thumb {
    background: #888;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    opacity: 0.2;
  }

  /* Handle on hover */
  .car-new-container::-webkit-scrollbar-thumb:hover {
    background: #555; 
    opacity: 1;
  }
}

.car-new-container .car-new-form .wp-form .btn-loader{
  width: 25px;
  height: 25px;
}

.car-new-form{
  padding: 15px;
}

.car-new-form  .wp-form{
  background-color: #F2F2F2;
  padding: 15px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.car-new-form textarea{
  padding: 10px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  border: 1px solid #9F9F9F;
  height: 10vh;
  min-height: 50px;
  width: 100%;
  margin-bottom: 15px;
  font-size: 12px;
}

.car-new-form input{
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  font-size: 12px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.car-new-form button{
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

.car-new-list{
  max-height: 350px;
  min-height: 150px;
  overflow-y: scroll;
  padding-right: 5px;
}

/* width */
.car-new-list::-webkit-scrollbar {
  width: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/* Track */
.car-new-list::-webkit-scrollbar-track {
  background: #f1f1f1; 
  opacity: 0.2;
}
 
/* Handle */
.car-new-list::-webkit-scrollbar-thumb {
  background: #888;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  opacity: 0.2;
}

/* Handle on hover */
.car-new-list::-webkit-scrollbar-thumb:hover {
  background: #555; 
  opacity: 1;
}

.car-new-list ul li{
  margin-bottom: 5px;
  /* -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px; */
}

.cart-items li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  border-bottom: 1px solid #9F9F9F;
}

/* .cart-items li:nth-child(even){
  background-color: #F2F2F2;
} */

.car-new-list ul li .product-image{
  width: 20%;
  display: flex;
  justify-content: flex-start;
  padding-right: 5px;
}

.car-new-list ul li .product-image .product-img{
  width: 100%;
}

.car-new-list ul li .product-options{
  width: 80%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.car-new-list ul li .product-options .product-info{
  width: 100%;
  text-align: left;
  padding-left: 10px;
}

.car-new-list ul li .product-options .product-info .sub-options{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.car-new-list ul li .product-options .product-info .variant-container select{
  font-size: 12px;
  margin: 5px 0;
}

.car-new-list ul li .product-options .product-name{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  margin-bottom: 5px;
}

.car-new-list ul li .product-options .remove-btn{
  width: 15px;
  height: 15px;
  background-image: url('../img/ico_car_trahs.svg');
  background-size: contain;
  background-position: center;
  margin-left: 5px;
}

.cart-items li span{
  font-size: 12px;
}

.cart-items li input{
  max-width: 70px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
}

.cart-items li button{
  background-color: transparent;
  border: 0;
}

/* .cart-container-new, .cart-icon{
  display:none;
} */

.cart-icon {
  position: relative;
  cursor: pointer;
}
.cart-icon:hover .cart-container-new {
  display: block;
}

.container-cart{
  position: relative;
}

.cart-icon img{
  width: 1vw;
  min-width: 12px;
  height: auto;
}

.cart-icon .counter{
  position: absolute;
  bottom: 100%;
  left: 100%;
  width: 20px;
  height: 20px;
  color: white;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #049DD9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.cart-icon .alrt-add{
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  color: white;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  background-color: black;
  color: white;
  padding: 7px 12px;
  font-size: 0.8vw;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
}

.cart-icon .alrt-add.show{
  visibility: visible;
  opacity: 1;
  -webkit-animation: shake-horizontal 1.2s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: shake-horizontal 1.2s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.img_prod {
  display: inline-block;
  height: 50px;
}

@media (max-width: 767px) {
  .car-new-header-wp h3{
    font-size: 14px;
  }
}

@-webkit-keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-8px);
            transform: translateX(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(8px);
            transform: translateX(8px);
  }
  80% {
    -webkit-transform: translateX(6px);
            transform: translateX(6px);
  }
  90% {
    -webkit-transform: translateX(-6px);
            transform: translateX(-6px);
  }
}
@keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-8px);
            transform: translateX(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(8px);
            transform: translateX(8px);
  }
  80% {
    -webkit-transform: translateX(6px);
            transform: translateX(6px);
  }
  90% {
    -webkit-transform: translateX(-6px);
            transform: translateX(-6px);
  }
}



/*# sourceMappingURL=styles.css.map */