/* Wine Shop Salut - Account and Login Page */

html,
body {
  min-height: 100%;
}

html body.p-page__wrap,
html body {
  margin: 0;
  background: #f6f4ee;
  color: #273027;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

html body a {
  color: #174f22;
}

html body .base01.p-page__container {
  box-sizing: border-box;
  width: calc(100% - 32px) !important;
  max-width: 620px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body .title_area.p-shop__header {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 48px 20px 27px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

html body .p-shop__header a {
  display: inline-block;
}

html body .p-shop__logo {
  display: block;
  width: auto !important;
  max-width: min(280px, 78vw) !important;
  max-height: 92px !important;
  margin: 0 auto !important;
  object-fit: contain;
}

html body .base02.p-page__container.p-page__body {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid #dedbd2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(16, 56, 23, 0.08);
}

html body .p-page__body-inner {
  box-sizing: border-box;
  padding: 34px 40px 40px !important;
}

html body .p-page__body-inner form {
  margin: 0;
}

html body .c-button__group--sub {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px !important;
}

html body .c-button__group--sub .c-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 7px 15px !important;
  border: 1px solid #174f22 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #174f22 !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

html body .p-page__title {
  margin: 0 0 13px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #103817 !important;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

html body .p-page__title::before {
  display: block;
  margin-bottom: 2px;
  color: #ef7900;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  content: "ACCOUNT";
}

html body .p-page__title + p {
  margin: 0 !important;
  color: #5f665f;
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
}

html body .c-alert {
  box-sizing: border-box;
  margin: 25px 0 24px !important;
  padding: 17px 19px !important;
  border: 1px solid #efc17f !important;
  border-left: 4px solid #ef7900 !important;
  border-radius: 10px !important;
  background: #fff8ed !important;
  color: #4f493f !important;
  font-size: 13px;
  line-height: 1.75;
}

html body .c-alert > div + div {
  margin-top: 6px;
}

html body .c-alert a {
  color: #c95d08 !important;
  font-weight: 700;
}

/* Sign-up guidance shown only on the login form */
html body form:has(.c-button--login) .c-alert a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 8px 18px;
  border: 1px solid #d9680b;
  border-radius: 999px;
  background: #fff;
  color: #c95d08 !important;
  line-height: 1.4;
  text-decoration: none;
}

html body form:has(.c-button--login) .c-alert a:hover {
  background: #fff2df;
}

html body form:has(.c-button--login) .c-alert::after {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #efc17f;
  color: #4f493f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
  text-align: left;
  white-space: pre-line;
  content: "\3010\65B0\898F\4F1A\54E1\767B\9332\306E\6D41\308C\3011\A" "1. \30E1\30FC\30EB\30A2\30C9\30EC\30B9\3092\5165\529B\A" "2. \5C4A\3044\305F\4EEE\767B\9332\30E1\30FC\30EB\3092\78BA\8A8D\A" "3. \30E1\30FC\30EB\5185\306E URL \304B\3089\672C\767B\9332\A\A" "\9001\4FE1\524D\306B\30E1\30FC\30EB\30A2\30C9\30EC\30B9\306E\5165\529B\5185\5BB9\3092\3054\78BA\8A8D\304F\3060\3055\3044\3002\A" "\30E1\30FC\30EB\304C\5C4A\304B\306A\3044\5834\5408\306F\3001\8FF7\60D1\30E1\30FC\30EB\30D5\30A9\30EB\30C0\3068\53D7\4FE1\8A2D\5B9A\3092\3054\78BA\8A8D\304F\3060\3055\3044\3002";
}

html body .c-form__table,
html body .c-form__table tbody,
html body .c-form__table tr,
html body .c-form__title,
html body .c-form__content {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
}

html body .c-form__table {
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
}

html body .c-form__table tr {
  margin: 18px 0 0 !important;
  border: 0 !important;
}

html body .c-form__title {
  padding: 0 0 7px !important;
  border: 0 !important;
  background: transparent !important;
  color: #103817 !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: left !important;
}

html body .c-form__content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body .c-input--text,
html body input[type="email"],
html body input[type="password"],
html body input[type="text"] {
  display: block;
  width: 100% !important;
  height: 50px !important;
  box-sizing: border-box;
  padding: 10px 13px !important;
  border: 1px solid #aaa69e !important;
  border-radius: 7px !important;
  outline: none;
  background: #fff !important;
  color: #273027 !important;
  font-size: 16px !important;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html body .c-input--text:focus,
html body input[type="email"]:focus,
html body input[type="password"]:focus,
html body input[type="text"]:focus {
  border-color: #ef7900 !important;
  box-shadow: 0 0 0 3px rgba(239, 121, 0, 0.15) !important;
}

html body .c-form__note {
  margin: 7px 0 0 !important;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

html body .c-form__note a {
  color: #526452 !important;
}

html body .c-button__group {
  display: flex;
  justify-content: center;
  margin: 29px 0 0 !important;
}

html body .c-button--login,
html body .c-button--primary {
  display: inline-flex;
  width: 100% !important;
  max-width: 320px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 11px 24px !important;
  border: 1px solid #174f22 !important;
  border-radius: 999px !important;
  outline: none;
  background: #174f22 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

html body .c-button--login:hover,
html body .c-button--primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

html body .c-button:focus-visible,
html body .c-input--text:focus-visible {
  outline: 3px solid rgba(239, 121, 0, 0.35) !important;
  outline-offset: 3px;
}

html body .p-page__footer {
  box-sizing: border-box;
  padding: 24px 16px 38px !important;
  background: transparent !important;
  color: #777d77;
}

html body .p-page__footer .p-page__container {
  box-sizing: border-box;
  width: calc(100% - 32px) !important;
  max-width: 620px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body .p-page__copyright {
  padding: 0 0 17px !important;
  color: #777d77 !important;
  font-size: 11px !important;
  line-height: 1.6;
  text-align: center;
}

html body .p-page__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
  padding-top: 18px;
  border-top: 1px solid #dedbd2;
}

html body .p-secure__image {
  flex: 0 0 auto;
}

html body .p-secure__msg {
  max-width: 380px;
  color: #777d77;
  font-size: 10px;
  line-height: 1.65;
}

html body .field_with_errors .c-input--text,
html body .c-input--text[aria-invalid="true"] {
  border-color: #b43a32 !important;
  background: #fff8f7 !important;
}

@media (max-width: 640px) {
  html body.p-page__wrap,
  html body {
    font-size: 14px;
  }

  html body .base01.p-page__container {
    width: calc(100% - 24px) !important;
  }

  html body .title_area.p-shop__header {
    padding: 32px 15px 22px !important;
  }

  html body .base02.p-page__container.p-page__body {
    border-radius: 13px !important;
  }

  html body .p-page__body-inner {
    padding: 25px 18px 30px !important;
  }

  html body .c-button__group--sub {
    justify-content: center;
    margin-bottom: 20px !important;
  }

  html body .p-page__title {
    font-size: 24px !important;
  }

  html body .p-page__title + p {
    text-align: left;
  }

  html body .c-alert {
    padding: 15px 16px !important;
  }

  html body form:has(.c-button--login) .c-alert a {
    width: 100%;
  }

  html body form:has(.c-button--login) .c-alert::after {
    font-size: 11px;
  }

  html body .c-button--login,
  html body .c-button--primary {
    max-width: none;
  }

  html body .p-page__footer {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  html body .p-page__footer .p-page__container {
    width: 100% !important;
  }

  html body .p-page__secure {
    flex-direction: column;
    text-align: left;
  }
}
