/* Contact options inside the existing .contact-form frame. */
.contact-channel-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-form .contact-channel-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: min(100%, 348px);
  padding: 22px 24px 24px;
  border: 1px solid #E5D6C7;
  border-radius: 20px;
  background: linear-gradient(155deg, #FFFDFB 0%, #F6EFE7 100%);
  box-shadow: 0 12px 30px rgba(81, 58, 40, .1);
  color: #513A28 !important;
  text-align: center;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-form .contact-channel-card:hover {
  border-color: #A5805B;
  box-shadow: 0 18px 36px rgba(81, 58, 40, .16);
  transform: translateY(-3px);
}

.contact-form .contact-channel-card:focus-visible {
  outline: 3px solid #855F39;
  outline-offset: 4px;
}

.contact-channel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #855F39;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-channel-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #B88750;
}

.contact-channel-visual {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 192px;
  padding: 8px;
  border: 1px solid #E6D9CC;
  border-radius: 16px;
  background: #FFF;
}

.contact-channel-visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-channel-visual--zalo img {
  width: 176px;
  height: 176px;
  image-rendering: pixelated;
}

.contact-channel-visual--whatsapp {
  border-color: #D4E7D9;
  background: radial-gradient(circle at 35% 25%, #F2FBF4, #DDF1E3);
}

.contact-channel-visual--whatsapp img {
  width: 120px;
  height: 120px;
}

.contact-channel-title {
  color: #513A28;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-channel-description {
  max-width: 270px;
  min-height: 42px;
  color: #6B5948;
  font-size: 13px;
  line-height: 1.5;
}

.contact-channel-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 11px;
  background: #855F39;
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-channel-card--whatsapp .contact-channel-button {
  background: #208C5A;
}

.contact-channel-button span {
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 576px) {
  .contact-form .contact-channel-card {
    width: min(100%, 348px);
    padding: 20px;
  }

  .contact-channel-visual {
    width: 176px;
    height: 176px;
  }

  .contact-channel-visual--zalo img {
    width: 160px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .contact-channel-card {
    transition: none;
  }

  .contact-form .contact-channel-card:hover {
    transform: none;
  }
}

/* Primary Zalo card + secondary channels (email popup, WhatsApp) */
.contact-channel-wrap {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-channel-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 348px);
}

.contact-form .contact-channel-alt__btn {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #C9B29A;
  border-radius: 11px;
  background: #FFF;
  color: #855F39 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.contact-form .contact-channel-alt__btn:hover {
  border-color: #855F39;
  background: #FAF5EF;
}

.email-compose {
  width: min(92vw, 380px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(51, 36, 24, .28);
  color: #513A28;
}

.email-compose::backdrop {
  background: rgba(33, 24, 16, .45);
}

.email-compose__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  text-align: center;
}

.email-compose h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.email-compose__address {
  margin: 0 0 6px;
  color: #6B5948;
  font-size: 15px;
  word-break: break-all;
}

.email-compose__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  color: #6B5948;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.email-compose__primary,
.email-compose__secondary,
.email-compose__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}

.email-compose__primary {
  border: 0;
  background: #855F39;
  color: #FFF !important;
}

.email-compose__secondary,
.email-compose__copy {
  border: 1px solid #C9B29A;
  background: #FFF;
  color: #855F39 !important;
}
