* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: #141414;
  font: 400 16px/1.5 "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #12675c; outline-offset: 3px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.account-pane { position: relative; display: grid; align-items: center; padding: 100px clamp(32px, 5.9vw, 112px); }
.brand { position: absolute; left: clamp(24px, 3.2vw, 58px); top: clamp(24px, 3.2vw, 58px); display: inline-flex; }
.brand img { display: block; width: 106px; }
.account { width: 100%; max-width: 600px; justify-self: center; }
.account h1 { font-size: 28px; font-weight: 650; line-height: 1.18; letter-spacing: -.045em; overflow-wrap: anywhere; }
.intro { margin: 15px 0 20px; line-height: 1.5; }
.field { position: relative; display: flex; flex-direction: column; justify-content: center; border: 1px solid #bcbcbc; border-radius: 8px; min-height: 64px; padding: 7px 56px 8px 16px; }
.field:focus-within { border-color: #111; outline: 1px solid #111; }
.field:has([aria-invalid="true"]) { border-color: #ad112e; }
.field label { color: #585858; font-size: 13px; }
.field input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 0; background: transparent; color: inherit; height: 24px; }
#toggle-code { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #555; display: grid; place-items: center; }
#toggle-code:hover { background: #f5f5f5; }
.availability:not(:empty) { margin-bottom: 16px; color: #36504b; font-size: 14px; }
.error { color: #a3112d; font-size: 14px; }
.error:not(:empty) { margin-top: 8px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 32px; }
.primary { border: 0; border-radius: 99px; height: 48px; padding: 0 24px; background: #12675c; color: #fff; font-size: 16px; font-weight: 600; }
.primary:hover:enabled { background: #0b5048; }
.primary:disabled { color: #787878; background: #efefef; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #ddd; padding-top: 22px; }
.catalog-head h2 { font-size: 18px; }
.text-button { min-height: 44px; padding: 0 2px; border: 0; color: inherit; text-decoration: underline; background: transparent; }
#products { margin: 0; padding: 0; list-style: none; }
#products li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
#products li span:first-child { overflow-wrap: anywhere; }
#products li span:last-child { flex: none; }
.product-pane { position: sticky; top: 24px; align-self: start; margin: 24px 24px 24px 10px; min-height: 510px; height: calc(100svh - 48px); overflow: hidden; border-radius: 12px; isolation: isolate; color: #fff; display: grid; place-items: center; }
.product-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.product-pane::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(155deg, rgb(0 0 0 / 61%), rgb(0 0 0 / 34%)); }
.product-story { width: 100%; padding: 32px; text-align: center; }
.product-story h2 { font-size: clamp(28px, 2.4vw, 42px); font-weight: 650; line-height: 1.15; letter-spacing: -.04em; }
.product-story p { margin: 16px auto 0; max-width: 25em; }
.product-card { margin: clamp(38px, 7svh, 78px) auto 0; width: min(75%, 340px); aspect-ratio: 1.586; border-radius: 16px; padding: clamp(20px, 2vw, 36px); background: #047e7a; box-shadow: 0 20px 48px rgb(0 0 0 / 30%); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.product-card img { width: 48%; filter: brightness(0) invert(1); }
.product-card span { font-size: 15px; }
@media (max-width: 760px) {
  .login-layout { grid-template-columns: 1fr; }
  .account-pane { padding: 110px 24px 72px; }
  .brand { top: 26px; left: 24px; }
  .brand img { width: 88px; }
  .product-pane { display: none; }
}
