.guest-login {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 17px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700
}

@media(max-width:800px) {
  .user-preview {
    display: none
  }

  .guest-login {
    display: inline-flex
  }
}

.guest-login {
  display: inline-flex
}

.guest-register {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  padding: 10px 15px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700
}

.auth-shell {
  min-height: auto;
  align-items: start;
  padding: 48px 20px 58px
}

.auth-card {
  width: min(100%, 1000px);
  box-shadow: 0 24px 60px #5d44321c
}

.auth-side {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 42px 36px;
  background: #f1e3d9
}

.auth-side::before,
.auth-side::after {
  position: absolute;
  display: block;
  border-radius: 50%;
  content: ''
}

.auth-side::before {
  top: -126px;
  right: -72px;
  width: 270px;
  height: 270px;
  background: #e7cdbf
}

.auth-side::after {
  bottom: -112px;
  left: -18px;
  width: 320px;
  height: 270px;
  background: #e5c8bc
}

.auth-side>* {
  position: relative;
  z-index: 1
}

.auth-side .brand {
  top: 24px;
  left: 28px
}

.auth-side h1 {
  max-width: 370px;
  font-size: 40px;
  line-height: 1.08
}

.auth-side ul {
  font-size: 14px;
  line-height: 2
}

.auth-form {
  padding: 52px 48px
}

.auth-form h1 {
  margin: 16px 0 14px;
  font-size: 39px
}

.auth-form>p:not(.eyebrow) {
  margin: 0;
  font-size: 14px
}

.auth-form form {
  gap: 14px;
  margin-top: 25px
}

.auth-form label {
  gap: 7px;
  font-size: 13px
}

.auth-form input {
  height: 48px;
  border-radius: 12px;
  font-size: 14px
}

.auth-form .button {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 14px
}

.password-field {
  position: relative;
  display: block
}

.auth-form .password-field input {
  width: 100%;
  padding-right: 76px
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer
}

.password-toggle:hover {
  text-decoration: underline
}

@media(max-width:620px) {
  .auth-shell {
    padding: 0
  }

  .auth-form {
    padding: 42px 22px
  }

  .auth-side {
    display: none
  }
}

.guest-login {
  align-items: center;
  gap: 7px;
  line-height: 1
}

.guest-login i {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 1
}

@media(max-width:1200px) {
  .site-header .navbar {
    flex-wrap: wrap;
    padding: 11px 0
  }

  .site-header .nav-links.open {
    display: grid !important;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border-top: 1px solid var(--line);
    padding: 12px 0 2px
  }

  .site-header .nav-links.open a {
    display: flex !important;
    min-height: 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px !important
  }

  .site-header .nav-links.open a.active {
    background: #f5e8e0 !important
  }

  .site-header .menu-button {
    display: inline-flex
  }

  .guest-actions {
    gap: 6px
  }

  .guest-register {
    padding: 10px 12px
  }
}

.cart-login-tip {
  position: absolute;
  z-index: 45;
  top: 59px;
  right: 0;
  width: 205px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
  padding: 10px 12px;
  box-shadow: 0 12px 28px #553a2b25;
  color: #725c52;
  font-size: 12px;
  line-height: 1.45
}

.cart-login-tip a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline
}

@media(max-width:620px) {
  .cart-login-tip {
    top: 54px;
    right: -4px;
    width: 190px
  }
}