.zalo-container img {
  max-width: 100%;
  height: auto;
}

.zalo-container {
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 160px;
  z-index: 9999999;
}

.zalo-container:not(.right) {
  left: 2.5rem;
}

.zalo-container.right {
  right: 2.5rem;
}

.zalo-container a {
	display: block;
}

.zalo-container span {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1182FC;
  position: relative;
}

@keyframes zoomIn_zalo {
	from {
		opacity: 0;
		transform: scale3d(.3, .3, .3);
	}
	50% {
		opacity: 1;
	}
}

.zoomIn_zalo {
  animation-name: zoomIn_zalo;
}

.animated_zalo {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated_zalo.infinite {
  animation-iteration-count: infinite;
}

.cmoz-alo-circle {
  width: 50px;
  height: 50px;
  top: -5px;
  right: -5px;
  position: absolute;
  background-color: transparent;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid rgba(17, 130, 252, .8);
  opacity: .1;
  border-color: #1182FC;
  opacity: .5;
}

.cmoz-alo-circle-fill {
  width: 60px;
  height: 60px;
  top: -10px;
  position: absolute;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  background-color: rgba(17, 130, 252, 0.45);
  opacity: .75;
  right: -10px;
}

@-webkit-keyframes pulse_zalo {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse_zalo {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse_zalo {
  -webkit-animation-name: pulse_zalo;
  animation-name: pulse_zalo;
}

/* ── Popup Tư vấn sản phẩm ──────────────────────────────────────────────── */
.consult-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.consult-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: min(480px, 94vw);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.consult-popup__header {
  background: linear-gradient(135deg, var(--primary, #e31837), #c0392b);
  padding: 20px 24px;
  position: relative;
}

.consult-popup__title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.consult-popup__subtitle {
  margin: 4px 0 0;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

.consult-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.consult-popup__close:hover { background: rgba(255,255,255,.35); }

.consult-popup__body { padding: 24px; }

.consult-field { margin-bottom: 14px; }

.consult-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}
.consult-label span { color: #e31837; }

.consult-input,
.consult-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dde1e7;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.consult-input:focus,
.consult-textarea:focus { border-color: var(--primary, #e31837); }

.consult-textarea { resize: vertical; }

.consult-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.consult-submit-btn {
  flex: 1;
  padding: 12px;
  background: var(--primary, #e31837);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, background .2s;
}
.consult-submit-btn:hover { opacity: .88; }
.consult-submit-btn:disabled { opacity: .65; cursor: not-allowed; }
.consult-submit-btn--success { background: #16a34a !important; }

.consult-cancel-btn {
  padding: 12px 18px;
  background: #f5f5f5;
  color: #555;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.consult-cancel-btn:hover { background: #e8e8e8; }

.consult-msg {
  display: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
}
.consult-msg--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.consult-msg--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.consult-popup__footer {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.consult-popup__footer-label {
  font-size: 12px;
  color: #888;
}
.consult-popup__hotline {
  font-weight: 700;
  color: var(--primary, #e31837);
  font-size: 14px;
  text-decoration: none;
}
.consult-popup__hotline:hover { text-decoration: underline; }
