/* ================================================================
 * MessageCard Boutique v3.4 | Contact form submission SUCCESS page
 * Zen Cart 2.1.0: #contactusBody / #contactUsDefault
 * Scoped to the success text and its immediately following back row.
 * Keeps the original Zen Cart link and success-message text intact.
 * Install AFTER v3.2 / v3.3. Do not remove earlier CSS.
 * ================================================================ */

/* Give the confirmation state a complete, warm branded appearance. */
body#contactusBody #contactUsDefault .mainContent.success {
  display:block !important;
  width:100% !important;
  max-width:960px !important;
  min-height:180px !important;
  margin:16px auto 24px !important;
  padding:36px 24px 38px !important;
  float:none !important;
  clear:both !important;
  border:1px solid #e8dcd2 !important;
  border-radius:15px !important;
  background:#fffaf6 !important;
  background-image:none !important;
  box-shadow:0 12px 32px rgba(95,70,53,.055) !important;
  color:#68544a !important;
  text-align:center !important;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:2 !important;
  box-sizing:border-box !important;
}
/* Decorative success checkmark, in the site's taupe and blush palette. */
body#contactusBody #contactUsDefault .mainContent.success::before {
  content:'✓';
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  margin:0 auto 20px;
  border:1px solid #d6b9aa;
  border-radius:50%;
  background:#f6eae3;
  color:#986d5e;
  font:700 24px/1 sans-serif;
}
/* The success template uses class="buttonRow" without .back.
   v3.3 fixes only .buttonRow.back, so target this row only. */
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  max-width:960px !important;
  min-height:44px !important;
  float:none !important;
  clear:both !important;
  margin:0 auto !important;
  padding:0 !important;
  text-align:left !important;
  box-sizing:border-box !important;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  min-width:90px !important;
  width:auto !important;
  margin:0 !important;
  padding:10px 26px !important;
  border:1px solid #d9bcb0 !important;
  border-radius:999px !important;
  background:#fffdfb !important;
  background-image:none !important;
  color:#80594d !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.5 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  vertical-align:middle !important;
  transition:background-color .2s,border-color .2s,color .2s;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a > span[class*="cssButton"] {
  display:inline !important;
  float:none !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  color:inherit !important;
  font:inherit !important;
  line-height:inherit !important;
  text-shadow:none !important;
  box-shadow:none !important;
  outline:0 !important;
}
/* Supports the optional image-button mode without showing a blue rectangle. */
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a:has(> img) > img {
  display:none !important;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a:has(> img)::after {
  content:'戻る';
  font:inherit;
  color:inherit;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a > button {
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
  min-height:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:inherit !important;
  font:inherit !important;
  box-shadow:none !important;
  pointer-events:none;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a:hover {
  background:#f8f0eb !important;
  border-color:#b98f80 !important;
  color:#6e453a !important;
}
body#contactusBody #contactUsDefault .mainContent.success + .buttonRow > a:focus-visible {
  outline:2px solid #9d6c60 !important;
  outline-offset:3px !important;
}
@media (max-width:650px) {
  body#contactusBody #contactUsDefault .mainContent.success {
    min-height:160px !important;
    padding:28px 18px 30px !important;
    font-size:15px !important;
  }
}
