/* Shiyu Treasure-owned authentication pages. WooCommerce remains the account owner. */
body.shiyu-auth-page {
  margin: 0;
  background: #f6f3f0;
  color: #241f1b;
  font-family: Jost, "Helvetica Neue", Arial, sans-serif;
}

body.shiyu-auth-page .belove-header,
body.shiyu-auth-page .belove-footer,
body.shiyu-auth-page .belove-whatsapp,
body.shiyu-auth-page .belove-cart-backdrop,
body.shiyu-auth-page .belove-cart-drawer {
  display: none !important;
}

body.shiyu-auth-page .belove-page {
  width: 100%;
  min-height: 100vh;
  padding: 0 !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 115, 88, .12), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(107, 75, 57, .09), transparent 28%),
    #f6f3f0;
}

body.shiyu-auth-page .belove-page > .belove-shell,
body.shiyu-auth-page .belove-page > .belove-shell > .woocommerce,
body.shiyu-auth-page .belove-page > .belove-shell > .elementor,
body.shiyu-auth-page .belove-page .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.shiyu-auth-page .woocommerce-notices-wrapper:empty {
  display: none;
}

body.shiyu-auth-page .woocommerce-notices-wrapper:not(:empty) {
  box-sizing: border-box;
  width: min(calc(100% - 48px), 510px);
  margin: 28px auto 0;
}

body.shiyu-auth-page .woocommerce-notices-wrapper .woocommerce-error,
body.shiyu-auth-page .woocommerce-notices-wrapper .woocommerce-message,
body.shiyu-auth-page .woocommerce-notices-wrapper .woocommerce-info {
  width: 100%;
  margin: 0 !important;
  border: 1px solid #e2d9d2;
  border-top: 3px solid #9b684f;
  border-radius: 4px;
  background: #fff;
  color: #4e4540;
  font-size: 13px;
  line-height: 1.5;
}

body.shiyu-auth-page .woocommerce-notices-wrapper:not(:empty) + .shiyu-auth {
  min-height: auto;
  padding-top: 18px;
}

.shiyu-auth {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.shiyu-auth__card {
  box-sizing: border-box;
  width: min(100%, 510px);
  padding: 48px 54px 38px;
  border: 1px solid #e2d9d2;
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(58, 43, 34, .1);
}

.shiyu-auth__brand {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 38px;
  color: #9b684f !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: .92;
  letter-spacing: .22em;
  text-decoration: none;
}

.shiyu-auth__brand span:last-child {
  margin-top: 7px;
  padding-left: 18px;
  font-size: 13px;
  letter-spacing: .36em;
}

.shiyu-auth__header {
  margin: 0 0 30px;
}

.shiyu-auth__eyebrow {
  margin: 0 0 10px !important;
  color: #9b684f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shiyu-auth__header h1,
.shiyu-auth__success h1 {
  margin: 0 0 12px;
  color: #241f1b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.shiyu-auth__header > p:last-child,
.shiyu-auth__success > p {
  margin: 0;
  color: #6c625c;
  font-size: 14px;
  line-height: 1.6;
}

.shiyu-auth .woocommerce-error,
.shiyu-auth .woocommerce-message,
.shiyu-auth .woocommerce-info,
body.shiyu-auth-page .woocommerce > .woocommerce-error,
body.shiyu-auth-page .woocommerce > .woocommerce-message,
body.shiyu-auth-page .woocommerce > .woocommerce-info,
body.shiyu-auth-page > .woocommerce-error,
body.shiyu-auth-page > .woocommerce-message,
body.shiyu-auth-page > .woocommerce-info {
  box-sizing: border-box;
  width: min(100%, 510px);
  margin: 0 auto 18px !important;
  padding: 14px 16px 14px 42px !important;
  border: 1px solid #e2d9d2;
  border-top: 3px solid #9b684f;
  background: #fff;
  color: #4e4540;
  font-size: 13px;
  line-height: 1.5;
}

.shiyu-auth__form,
.woocommerce .shiyu-auth__form,
.shiyu-register,
.woocommerce .shiyu-register {
  display: flow-root;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.shiyu-auth__field,
.shiyu-register__field {
  margin: 0 0 18px !important;
}

.shiyu-auth__field label,
.shiyu-register__field label {
  display: block;
  margin: 0 0 7px;
  color: #39312d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: none !important;
}

.shiyu-auth__field input,
.shiyu-register__field input {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #cfc4bc !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #241f1b;
  font: 15px/1.2 Jost, "Helvetica Neue", Arial, sans-serif;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.shiyu-auth__field input:focus,
.shiyu-register__field input:focus {
  border-color: #9b684f !important;
  box-shadow: 0 0 0 3px rgba(155, 104, 79, .13);
}

.shiyu-auth__form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 24px;
  font-size: 12px;
}

.shiyu-auth__remember,
.shiyu-register__terms {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 0 !important;
  color: #5d534e;
  font-size: 12px !important;
  line-height: 1.5;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.shiyu-auth__remember input,
.shiyu-register__terms input {
  flex: 0 0 auto;
  width: 15px !important;
  height: 15px !important;
  margin: 1px 0 0 !important;
  accent-color: #9b684f;
}

.shiyu-auth a,
.shiyu-register a {
  color: #875a44;
  text-underline-offset: 3px;
}

.shiyu-auth__submit,
.woocommerce .shiyu-auth__submit,
.shiyu-register__submit,
.woocommerce .shiyu-register__submit {
  display: flex !important;
  float: none !important;
  width: 100% !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #241f1b !important;
  border-radius: 2px !important;
  background: #241f1b !important;
  color: #fff !important;
  font: 600 12px/1 Jost, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.shiyu-auth__submit:hover,
.shiyu-register__submit:hover,
.shiyu-auth__submit:focus-visible,
.shiyu-register__submit:focus-visible {
  border-color: #9b684f !important;
  background: #9b684f !important;
}

.shiyu-auth__switch {
  clear: both;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e7dfd9;
  text-align: center;
}

.shiyu-auth__switch p {
  margin: 0 0 12px;
  color: #6c625c;
  font-size: 13px;
}

.shiyu-auth__secondary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #9b684f;
  border-radius: 2px;
  color: #875a44 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.shiyu-auth__secondary:hover,
.shiyu-auth__secondary:focus-visible {
  background: #f6f0ec;
}

.shiyu-auth__legal {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 27px;
  color: #948982;
  font-size: 11px;
}

.shiyu-auth__legal a {
  color: #756a64;
}

.shiyu-register__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.shiyu-register__terms {
  margin: 3px 0 22px !important;
}

.shiyu-register__signin {
  margin: 25px 0 0;
  color: #6c625c;
  font-size: 13px;
  text-align: center;
}

.shiyu-auth__success {
  text-align: center;
}

.shiyu-auth__success-mark {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #edf2e9;
  color: #58704d;
  font-size: 25px;
}

.shiyu-auth__success-actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

body.shiyu-auth-page.woocommerce-lost-password .woocommerce {
  width: 100%;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.shiyu-auth-page.woocommerce-lost-password .belove-page {
  display: block;
  padding: 0 !important;
}

@media (max-width: 767px) {
  .shiyu-auth {
    min-height: 100svh;
    padding: 20px 14px;
  }

  .shiyu-auth__card {
    width: 100%;
    padding: 34px 24px 28px;
    box-shadow: 0 14px 44px rgba(58, 43, 34, .09);
  }

  .shiyu-auth__brand {
    margin-bottom: 30px;
  }

  .shiyu-auth__header h1,
  .shiyu-auth__success h1 {
    font-size: 32px;
  }

  .shiyu-register__grid {
    display: block;
  }

  .shiyu-auth__form-meta {
    align-items: flex-start;
  }

  body.shiyu-auth-page .woocommerce-notices-wrapper:not(:empty) {
    width: calc(100% - 28px);
    margin-top: 20px;
  }

}
