/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 07 2026 | 04:23:42 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

/* ===== Contact Form 7 Custom Style ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap');

/* Fix full width CF7 */
.wpcf7,
.wpcf7 form,
.wpcf7 p,
.wpcf7 .wpcf7-form-control-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7 br {
  display: none;
}

/* CF7 alert messages */
.wpcf7 form .wpcf7-response-output {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  border: none;
}

/* Gửi thành công */
.wpcf7 form.sent .wpcf7-response-output {
  background: #eaf3de;
  color: #3B6D11;
  border-left: 3px solid #639922;
}

/* Lỗi validation / chưa điền đủ */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #FAEEDA;
  color: #854F0B;
  border-left: 3px solid #EF9F27;
}

/* Lỗi gửi mail / spam / bị huỷ */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #FCEBEB;
  color: #A32D2D;
  border-left: 3px solid #E24B4A;
}

/* Field bị lỗi */
.wpcf7 .wpcf7-not-valid {
  border-color: #E24B4A !important;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.1) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #A32D2D;
  margin-top: 4px;
  display: block;
}

/* Ended Alert*/

.wpcf7 {
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.wpcf7 label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
  margin-top: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f7f4f1;
  border: 0.5px solid #ccc;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #222;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* Ngăn iOS tự zoom vào input */
  -webkit-text-size-adjust: 100%;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #B07D5A;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 125, 90, 0.12);
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background: #c4691b;
  color: #F0E6D8;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s, transform 0.15s;
  /* Ngăn iOS style mặc định đè lên */
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 input[type="submit"]:hover {
  background: #e9964f;
}

/* Tablet trở lên: nút không full width */
@media (min-width: 480px) {
  .wpcf7 input[type="submit"] {
    width: auto;
    transform: none;
  }

  .wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
  }
}

/* Mobile nhỏ: giảm padding cho thoáng */
@media (max-width: 380px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea {
    padding: 10px 12px;
    font-size: 16px; /* >= 16px để iOS không zoom */
  }
}